America's Army: Proving Grounds
| NFP | No False People 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8060054json
{
"response": {
"steam_id": "90285100703574047",
"domain": null,
"id": 8060054,
"ip": "217.182.197.135",
"port": 7778,
"query": 7783,
"color": 0,
"city": "Saarbrücken",
"description": null,
"game": 203290,
"owner": null,
"boosts": 1,
"last_offline": 1770768105,
"score": 0,
"last_online": 1777501827,
"icon": null,
"name": "| NFP | No False People",
"connect": "217.182.197.135:7778",
"request": "217.182.197.135:7783",
"map": "FLO_InnerHospital_EX",
"gamemode": "America's Army: Proving Grounds",
"version": "1.0.0.0",
"numplayers": 1,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 59,
"add_date": 1741389932,
"last_update": 1777501827,
"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": 4,
"language": "de",
"parked": false,
"app": {
"id": 75,
"steam_id": 203290,
"name": "America's Army: Proving Grounds",
"url": "americas-army-proving-grounds"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8060054");
$data = json_decode($json, true);
var_dump($data);