No More Room in Hell
The_Boiz 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10544670json
{
"response": {
"steam_id": "90276912224663553",
"domain": null,
"id": 10544670,
"ip": "216.225.151.56",
"port": 9190,
"query": 9190,
"color": 0,
"city": "Cleveland",
"description": null,
"game": 224260,
"owner": null,
"boosts": 1,
"last_offline": 1776167518,
"score": 0,
"last_online": 1776207070,
"icon": null,
"name": "The_Boiz",
"connect": "216.225.151.56:9190",
"request": "216.225.151.56:9190",
"map": "nmo_junction",
"gamemode": "No More Room in Hell",
"version": "1.1.4.2",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762521477,
"last_update": 1776207070,
"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": 144,
"language": "en",
"parked": false,
"app": {
"id": 6,
"steam_id": 224260,
"name": "No More Room in Hell",
"url": "no-more-room-in-hell"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10544670");
$data = json_decode($json, true);
var_dump($data);