ZRush # Zombie Classic (NEW IP: 82.27.2.120:27016) 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/7877475
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7877475,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 10,
    "owner": 107635,
    "boosts": 1,
    "last_offline": 1761066212,
    "score": 0,
    "last_online": 1758524424,
    "icon": null,
    "name": "ZRush # Zombie Classic (NEW IP: 82.27.2.120:27016)",
    "connect": null,
    "request": null,
    "map": "cs_1337_ASSAULT",
    "gamemode": "Zombie Mod Classic 2.7.4",
    "version": null,
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1740376711,
    "last_update": 1761066212,
    "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": 7168,
    "language": "en",
    "parked": true,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": {
      "username": "notbolo24",
      "avatar": "fd4074d0-5268-4374-9878-27bd12824ca6.jpg",
      "last_online": 1741285337
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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