面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11501902
json
{
  "response": {
    "fps": 43,
    "fps_avg": 44,
    "entities_count": 105206,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286603693864976",
    "domain": null,
    "id": 11501902,
    "ip": "83.151.204.153",
    "port": 28018,
    "query": 28020,
    "color": 0,
    "city": "Reading",
    "description": "![CrypticRedHats Staging Branch Development Server](https://crypticredhat.com/sharedassets/NexCoreHeader.png)\nThis server runs the latest Staging Rust branch and is dedicated to developing and testing systems under the NexCore brand — including PatchPost, AntiCheat, OfflineRaidLimiter, and more. Expect frequent updates, experimental features, and ongoing development.\r\n\r\n⚠️ Whitelist Only\r\nAccess is restricted. To request access, please contact us via Discord: discord.crypticredhat.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780531461,
    "last_online": 1780638029,
    "icon": null,
    "name": "CrypticRedHats Staging Branch Development Server",
    "connect": "83.151.204.153:28018",
    "request": "83.151.204.153:28020",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207184,
    "last_update": 1780638029,
    "banned": false,
    "wipe": 1780589891,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4539,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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