IIIWolfsangle 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286558557899780,
"domain": null,
"id": 11724631,
"ip": "78.29.170.138",
"port": 7777,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Ponta Delgada",
"description": null,
"game": 480,
"owner": null,
"boosts": 1,
"last_offline": 1780754010,
"last_online": 1780495383,
"icon": null,
"name": "IIIWolfsangle",
"connect": "78.29.170.138:7777",
"request": "78.29.170.138:27015",
"map": "MP_GridlockG3_Retail",
"gamemode": "Gears of War 3",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 5,
"bots": 0,
"secured": false,
"private": false,
"country": "PT",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780325430,
"last_update": 1780754010,
"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": 81,
"language": "pt",
"parked": false,
"app": {
"id": 54694,
"steam_id": 480,
"name": "Spacewar",
"url": "spacewar"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11724631");
$data = json_decode($json, true);
var_dump($data);