noinfo3052620
Over the Top WWI Server by Me 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10419621json
{
"response": {
"steam_id": "90283949336824862",
"domain": null,
"id": 10419621,
"ip": "176.57.143.56",
"port": 34400,
"query": 34415,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 3052620,
"owner": null,
"boosts": 1,
"last_offline": 1773784321,
"score": 0,
"last_online": 1776267639,
"icon": null,
"name": "Over the Top WWI Server by Me",
"connect": "176.57.143.56:34400",
"request": "176.57.143.56:34415",
"map": "Crossroads: Conquest",
"gamemode": "Over The Top: WW1",
"version": "OTT_1.01",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1759825614,
"last_update": 1776267639,
"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": 2,
"language": "de",
"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/10419621");
$data = json_decode($json, true);
var_dump($data);