API для ||EVENT [Asia/1 | Huaji-3.9]|| Gun-game (Server by Skitzofrenia & D.T Chivalrous)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11588443,
"ip": "112.17.187.18",
"port": 16901,
"query": 16901,
"color": 0,
"city": "Hangzhou",
"description": null,
"game": 218,
"owner": null,
"boosts": 1,
"last_offline": 1780229650,
"last_online": 1780567870,
"icon": null,
"name": "||EVENT [Asia/1 | Huaji-3.9]|| Gun-game (Server by Skitzofrenia & D.T Chivalrous)",
"connect": "112.17.187.18:16901",
"request": "112.17.187.18:16901",
"map": "fof_nowhere",
"gamemode": "3.9a / DeathMatch",
"version": "1.0.1.0",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779357734,
"last_update": 1780567870,
"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": 7,
"language": "zh",
"parked": false,
"app": {
"id": 42,
"steam_id": 218,
"name": "Source SDK Base 2007",
"url": "source-sdk-base-2007"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11588443");
$data = json_decode($json, true);
var_dump($data);