Squad
API для [CN]茶楼服务器丨SPM丨法国阵营丨肌有力丨俄乌战争丨特种部队丨 QQ群:1067887424KOOK:83029275!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11142617json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11142617,
"ip": "202.189.23.188",
"port": 4020,
"query": 4020,
"color": 0,
"city": "Beijing",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1778542934,
"score": 0,
"last_online": 1778418105,
"icon": null,
"name": "[CN]茶楼服务器丨SPM丨法国阵营丨肌有力丨俄乌战争丨特种部队丨 QQ群:1067887424KOOK:83029275!",
"connect": "202.189.23.188:4020",
"request": "202.189.23.188:4020",
"map": "SU_Manicouagan_Invasion_v1",
"gamemode": "Invasion",
"version": "v10.4.0.601191.2111",
"numplayers": 0,
"maxplayers": 98,
"bots": 0,
"secured": null,
"private": null,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1770804051,
"last_update": 1778542934,
"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": 279,
"language": "zh",
"parked": false,
"app": {
"id": 137,
"steam_id": 393380,
"name": "Squad",
"url": "squad"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11142617");
$data = json_decode($json, true);
var_dump($data);