API для MGN ZOMBIE Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789829301,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "193.106.88.99:27016",
"country": "RU",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16757192,
"ip": "193.106.88.99",
"language": "ru",
"last_update": 1789835215,
"map": "zm_lila_panic",
"maxplayers": 32,
"name": "MGN ZOMBIE Server",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27016,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "193.106.88.99:27016",
"secured": true,
"status": true,
"steam_id": "90293022312097810",
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 10,
"city": "Магнитогорск",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1789829301,
"last_online": 1789835215,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 10977,
"wipe_period": null,
"os": "l",
"region": -1,
"product": "cstrike",
"gametype": null,
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16757192");
$data = json_decode($json, true);
var_dump($data);