noinfo3052620
[CN/AS]OTT_OFFICIAL_AS_1 /破壕行动官方服务器,QQ群: 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11394755json
{
"response": {
"steam_id": "90284038092207130",
"domain": null,
"id": 11394755,
"ip": "103.236.93.232",
"port": 7388,
"query": 7389,
"color": 0,
"city": "Beijing",
"description": null,
"game": 3052620,
"owner": null,
"boosts": 1,
"last_offline": 1776258716,
"score": 0,
"last_online": 1776280233,
"icon": null,
"name": "[CN/AS]OTT_OFFICIAL_AS_1 /破壕行动官方服务器,QQ群:",
"connect": "103.236.93.232:7388",
"request": "103.236.93.232:7389",
"map": "Picardie_Trenches: Conquest",
"gamemode": "Over The Top: WW1",
"version": "OTT_1.01",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774597063,
"last_update": 1776280233,
"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": 47,
"language": "zh",
"parked": false,
"app": {
"id": 1665334,
"steam_id": 3052620,
"name": "noinfo3052620",
"url": "noinfo3052620"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11394755");
$data = json_decode($json, true);
var_dump($data);