API dla 【天下会】2倍|半月清|阵营对抗|奇特玩法
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 137,
"fps_avg": 136,
"entities_count": 102351,
"world_seed": 1466759950,
"world_size": 4000,
"steam_id": "90286340054581262",
"domain": null,
"id": 11606963,
"ip": "202.189.5.194",
"port": 10010,
"query": 10012,
"color": 0,
"city": "Beijing",
"description": "【天下会】·半月清 盟战专服\r\nQQ群1091247201\r\n 半月清档|帮派集结|阵营争霸\r\n 积分躺赚|团战/守家/活跃就能攒\r\n 积分抽奖|坦克/战机/顶级物资直接出\r\n 攻城死斗|阵营对抗|和兄弟一起炸穿全服\r\n 无特权无外挂|天下会只认兄弟不认钱\r\n 加入阵营,开上坦克,和兄弟们一起拿下全服霸权!\r\nQQ群1091247201",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780575220,
"last_online": 1780063825,
"icon": null,
"name": "【天下会】2倍|半月清|阵营对抗|奇特玩法",
"connect": "202.189.5.194:10010",
"request": "202.189.5.194:10012",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779915489,
"last_update": 1780575220,
"banned": false,
"wipe": 1779561135,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12236,
"language": "zh",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11606963");
$data = json_decode($json, true);
var_dump($data);