API для nicks testing server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794368943,
"app": {
"id": 48,
"name": "Unturned",
"steam_id": 304930,
"url": "unturned"
},
"color": 0,
"connect": "104.243.40.52:4558",
"country": "US",
"domain": null,
"game": 304930,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19943017,
"ip": "104.243.40.52",
"language": "en",
"last_update": 1794923077,
"map": "UnlimitedXMAS",
"maxplayers": 8,
"name": "nicks testing server",
"numplayers": 0,
"official": null,
"points": 30,
"port": 4558,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 4558,
"request": "104.243.40.52:4558",
"secured": true,
"status": true,
"steam_id": "85568392933304686",
"version": "3.26.3.15",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Piscataway",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794628461,
"last_online": 1794923077,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1389,
"wipe_period": null,
"Mod_0": "3816900926,3320367980,2528363491,2468732734,2365700338,2309977886,2014624499,1992424576,1232252658,3837675172,3838163166",
"rocket": "4.9.3.18",
"Cfg_Count": "0",
"Mod_Count": "1",
"listentype": "d",
"environment": "l",
"BookmarkHost": "",
"a2s_protocol": 17,
"rocketplugins": "SantaDrop",
"players_complete": true,
"Browser_Desc_Hint": ""
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19943017");
$data = json_decode($json, true);
var_dump($data);