ATLAS
Meat Packing Beef Boys - (v560.3) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11070481json
{
"response": {
"steam_id": "90285168628004864",
"domain": null,
"id": 11070481,
"ip": "109.230.208.171",
"port": 11300,
"query": 11301,
"color": 0,
"city": "Clifton",
"description": null,
"game": 834910,
"owner": null,
"boosts": 1,
"last_offline": 1777447404,
"score": 0,
"last_online": 1777583486,
"icon": null,
"name": "Meat Packing Beef Boys - (v560.3)",
"connect": "109.230.208.171:11300",
"request": "109.230.208.171:11301",
"map": "Blackwood",
"gamemode": "TestGameMode_C",
"version": "560.3",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1769972821,
"last_update": 1777583486,
"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": 679,
"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/11070481");
$data = json_decode($json, true);
var_dump($data);