STU/24战队公开服[Q群:876641114] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90285866209341451",
"domain": null,
"id": 11623400,
"ip": "180.157.120.83",
"port": 43480,
"query": 43481,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1780578218,
"last_online": 1780417281,
"icon": null,
"name": "STU/24战队公开服[Q群:876641114]",
"connect": "180.157.120.83:43480",
"request": "180.157.120.83:43481",
"map": "altis",
"gamemode": "co40 Domination! Blufor [4.73]",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 45,
"bots": 0,
"secured": false,
"private": false,
"country": "CN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916114,
"last_update": 1780578218,
"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": 5017,
"language": "zh",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11623400");
$data = json_decode($json, true);
var_dump($data);