API для 3911国服 萌新乐园 主PVP辅PVE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794596100,
"app": {
"id": 11540,
"name": "SCUM",
"steam_id": 513710,
"url": "scum"
},
"color": 0,
"connect": "116.53.214.31:3911",
"country": "CN",
"domain": null,
"game": 513710,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20084243,
"ip": "116.53.214.31",
"language": "zh",
"last_update": 1794669842,
"map": null,
"maxplayers": 128,
"name": "3911国服 萌新乐园 主PVP辅PVE",
"numplayers": 0,
"official": false,
"points": 30,
"port": 3911,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 3911,
"request": "116.53.214.31:3911",
"secured": null,
"status": true,
"steam_id": null,
"version": "1.3.5.2.172724",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Куньмин",
"description": null,
"disabled_modules": [],
"gamemode": "community-direct",
"hidden": false,
"last_offline": null,
"last_online": 1794669842,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 8153,
"wipe_period": null,
"type": 0,
"build": 172724,
"extraFlags": 0,
"statusFlags": 64,
"nameHeaderRaw": "422b2a020503",
"unknownStatusFlags": 64
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20084243");
$data = json_decode($json, true);
var_dump($data);