CN|AGHL Club|竞技死斗(广州#1)群:945221882 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9909662
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9909662,
    "ip": "114.132.168.4",
    "port": 27022,
    "query": 27022,
    "color": 0,
    "city": "Guangzhou",
    "description": null,
    "game": 70,
    "owner": null,
    "boosts": 1,
    "last_offline": 1771192303,
    "score": 0,
    "last_online": 1776453656,
    "icon": null,
    "name": "CN|AGHL Club|竞技死斗(广州#1)群:945221882",
    "connect": "114.132.168.4:27022",
    "request": "114.132.168.4:27022",
    "map": "homeworld",
    "gamemode": "HLCCL",
    "version": "1.1.2.7/Stdio",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1753955502,
    "last_update": 1776453656,
    "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": 220,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 9,
      "steam_id": 70,
      "name": "Half-Life",
      "url": "half-life"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/9909662");
$data = json_decode($json, true);
var_dump($data);