MORDHAU
BobShortMamba's Promod Practice 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9984680json
{
"response": {
"steam_id": "90283853000938504",
"domain": null,
"id": 9984680,
"ip": "199.60.101.90",
"port": 7782,
"query": 27030,
"color": 0,
"city": "Chicago",
"description": null,
"game": 629760,
"owner": null,
"boosts": 1,
"last_offline": 1776019939,
"score": 0,
"last_online": 1776453746,
"icon": null,
"name": "BobShortMamba's Promod Practice",
"connect": "199.60.101.90:7782",
"request": "199.60.101.90:27030",
"map": "Moshpit",
"gamemode": "Mordhau",
"version": "702625635",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1754898597,
"last_update": 1776453746,
"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": 34,
"language": "en",
"parked": false,
"app": {
"id": 51451,
"steam_id": 629760,
"name": "MORDHAU",
"url": "mordhau"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/9984680");
$data = json_decode($json, true);
var_dump($data);