Garry's Mod
[CN]Legacy Breach-RM服务器 Q:1017265608 入群订阅合集 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11327391json
{
"response": {
"steam_id": "85568392935873869",
"domain": null,
"id": 11327391,
"ip": "110.42.50.208",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Ningbo",
"description": null,
"game": 4000,
"owner": null,
"boosts": 1,
"last_offline": 1776352421,
"score": 0,
"last_online": 1776802916,
"icon": null,
"name": "[CN]Legacy Breach-RM服务器 Q:1017265608 入群订阅合集",
"connect": "110.42.50.208:27015",
"request": "110.42.50.208:27015",
"map": "legacy_site19_beta_rm",
"gamemode": "Legacy Breach",
"version": "2025.03.26",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774594181,
"last_update": 1776802916,
"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": 3309,
"language": "zh",
"parked": false,
"app": {
"id": 30,
"steam_id": 4000,
"name": "Garry's Mod",
"url": "garrys-mod"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11327391");
$data = json_decode($json, true);
var_dump($data);