Squad
API для [CN]『福星2』 通宵侵攻 | 龟壳工事 | 1ucky俱乐部 Q群:63351516 Yy:396737
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10630641json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10630641,
"ip": "180.188.21.57",
"port": 22007,
"query": 22007,
"color": 0,
"city": "Beijing",
"description": null,
"game": 393380,
"owner": null,
"boosts": 1,
"last_offline": 1775022154,
"score": 0,
"last_online": 1776800535,
"icon": null,
"name": "[CN]『福星2』 通宵侵攻 | 龟壳工事 | 1ucky俱乐部 Q群:63351516 Yy:396737",
"connect": "180.188.21.57:22007",
"request": "180.188.21.57:22007",
"map": "Narva_Invasion_v2",
"gamemode": "Invasion",
"version": "v10.3.1.571437.1655",
"numplayers": 100,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1763633112,
"last_update": 1776800535,
"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": 146,
"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/10630641");
$data = json_decode($json, true);
var_dump($data);