API для [AU] The Walking Undead - PvE/p: Zones | Exp: 3x | Loot: 1x | G
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": "90286544640622614",
"domain": null,
"id": 11737467,
"ip": "114.74.134.14",
"port": 7777,
"query": 27015,
"color": 0,
"city": "Albury",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1780412387,
"last_online": 1780542644,
"icon": null,
"name": "[AU] The Walking Undead - PvE/p: Zones | Exp: 3x | Loot: 1x | G",
"connect": "114.74.134.14:7777",
"request": "114.74.134.14:27015",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.024h1",
"numplayers": 3,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1780412387,
"last_update": 1780542644,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 180,
"language": "en",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11737467");
$data = json_decode($json, true);
var_dump($data);