API для ✿青青草原#1-沧海-✿萌新花园/随机攻防=免排队+Q群693802372.YY7016
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793428194,
"app": {
"id": 137,
"name": "Squad",
"steam_id": 393380,
"url": "squad"
},
"color": 0,
"connect": "103.91.210.250:10107",
"country": "CN",
"domain": null,
"game": 393380,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19431753,
"ip": "103.91.210.250",
"language": "zh",
"last_update": 1794632759,
"map": "Yehorivka_RAAS_v1",
"maxplayers": 100,
"name": "✿青青草原#1-沧海-✿萌新花园/随机攻防=免排队+Q群693802372.YY7016",
"numplayers": 100,
"official": null,
"points": 130,
"port": 10107,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 10107,
"request": "103.91.210.250:10107",
"secured": null,
"status": true,
"steam_id": null,
"version": "v10.6.3.694944.3212",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Циндао",
"description": null,
"disabled_modules": [],
"gamemode": "RAAS",
"hidden": false,
"last_offline": 1794547582,
"last_online": 1794632759,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 9,
"wipe_period": null,
"eosSessionId": "e0057c24c1b443b29252354549b54a71"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19431753");
$data = json_decode($json, true);
var_dump($data);