Palmcrest Bay - (v560.3) 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90071992547409920,
"domain": null,
"id": 11665340,
"ip": "75.72.96.144",
"port": 8010,
"query": 57684,
"color": 0,
"city": "Minneapolis",
"description": null,
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1780605861,
"last_online": 1780604049,
"icon": null,
"name": "Palmcrest Bay - (v560.3)",
"connect": "75.72.96.144:8010",
"request": "75.72.96.144:57684",
"map": null,
"gamemode": "ATLAS",
"version": "560.3",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780179111,
"last_update": 1780605861,
"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": 1133,
"language": "en",
"parked": false,
"app": {
"id": 23488,
"steam_id": 834910,
"name": "ATLAS",
"url": "atlas"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11665340");
$data = json_decode($json, true);
var_dump($data);