API для [ZOMBIE] DarkGames [ZP 4.3]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789835027,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "109.164.49.239:27015",
"country": "CZ",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16760450,
"ip": "109.164.49.239",
"language": "cs",
"last_update": 1789930954,
"map": "zm_dust_world",
"maxplayers": 32,
"name": "[ZOMBIE] DarkGames [ZP 4.3]",
"numplayers": 0,
"official": null,
"points": 0,
"port": 27015,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "109.164.49.239:27015",
"secured": true,
"status": false,
"steam_id": "90293045683039243",
"version": "1.1.2.6",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Ческе-Будеёвице",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1789930954,
"last_online": 1789833739,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 33211,
"wipe_period": null,
"os": "w",
"region": 255,
"product": "cstrike",
"gametype": null,
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16760450");
$data = json_decode($json, true);
var_dump($data);