API для [CN]步战鼠鼠·BZSS·公益服 步兵加强 群1084258629
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793242104,
"app": {
"id": 137,
"name": "Squad",
"steam_id": 393380,
"url": "squad"
},
"color": 0,
"connect": "114.66.28.23:7837",
"country": "CN",
"domain": null,
"game": 393380,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19321008,
"ip": "114.66.28.23",
"language": "zh",
"last_update": 1794640546,
"map": "GooseBay_Seed_v1",
"maxplayers": 98,
"name": "[CN]步战鼠鼠·BZSS·公益服 步兵加强 群1084258629",
"numplayers": 0,
"official": null,
"points": 0,
"port": 7837,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7837,
"request": "114.66.28.23:7837",
"secured": null,
"status": false,
"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": "Seed",
"hidden": false,
"last_offline": 1794640546,
"last_online": 1794632168,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 638,
"wipe_period": null,
"eosSessionId": "1c61eb1196d44966a7a7c58ab7ecca0b"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19321008");
$data = json_decode($json, true);
var_dump($data);