API для BisectHosting f371c65e
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1779356916,
"app": {
"id": 48,
"name": "Unturned",
"steam_id": 304930,
"url": "unturned"
},
"color": 0,
"connect": "66.248.194.167:9133",
"country": "NL",
"domain": null,
"game": 304930,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 11578248,
"ip": "66.248.194.167",
"language": "nl",
"last_update": 1794955358,
"map": "Russia",
"maxplayers": 8,
"name": "BisectHosting f371c65e",
"numplayers": 0,
"official": null,
"points": 0,
"port": 9133,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 9133,
"request": "66.248.194.167:9133",
"secured": true,
"status": false,
"steam_id": "90297472378717208",
"version": "3.26.3.15",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Гаага",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794955358,
"last_online": 1794741200,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 1434,
"wipe_period": null,
"Cfg_0": "Items.Spawn_Chance=1",
"Cfg_1": "Items.Despawn_Dropped_Time=1800",
"rocket": "4.9.3.18",
"Cfg_Count": "2",
"listentype": "d",
"environment": "l",
"BookmarkHost": "",
"a2s_protocol": 17,
"rocketplugins": "",
"players_complete": true,
"Browser_Desc_Hint": ""
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11578248");
$data = json_decode($json, true);
var_dump($data);