Au-sever 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286749972643843",
"domain": null,
"id": 11769078,
"ip": "115.70.30.221",
"port": 27083,
"query": 27081,
"project_id": null,
"color": 0,
"city": "Perth",
"description": null,
"game": 736590,
"owner": null,
"boosts": 1,
"last_offline": 1780934251,
"last_online": 1781091077,
"icon": null,
"name": "Au-sever",
"connect": "115.70.30.221:27083",
"request": "115.70.30.221:27081",
"map": "Wadi Farmstead",
"gamemode": "Skirmish",
"version": "89",
"numplayers": 0,
"maxplayers": 2,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780934251,
"last_update": 1781091077,
"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": 31,
"language": "en",
"parked": false,
"app": {
"id": 52393,
"steam_id": 736590,
"name": "Operation: Harsh Doorstop",
"url": "operation-harsh-doorstop"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11769078");
$data = json_decode($json, true);
var_dump($data);