面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11717888
json
{
  "response": {
    "fps": 91,
    "fps_avg": 99,
    "entities_count": 114944,
    "world_seed": 768302230,
    "world_size": 4500,
    "steam_id": "90286605291516949",
    "domain": null,
    "id": 11717888,
    "ip": "5.223.83.31",
    "port": 28015,
    "query": 27017,
    "color": 0,
    "city": "Singapore",
    "description": "![SEA MONTHLY](https://cdn.discordapp.com/attachments/846328537011191819/1503423989350138017/ChatGPT_Image_May_11_2026_09_30_58_PM.png?ex=6a1e52f3&is=6a1d0173&hm=87180b42ade205d5ed1cf75b96f0b113bcd5926ae1beae3cd13b159d6ba9c87e&)\nMonthly Wipe • PvP • Raids • Active AdminsJoin SEA MONTHLY and survive against the toughest players.Build massive bases, dominate raids, and become the strongest clan on the server.Join our Discord",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780599868,
    "last_online": 1780624829,
    "icon": null,
    "name": "SEA MONTHLY",
    "connect": "5.223.83.31:28015",
    "request": "5.223.83.31:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780324091,
    "last_update": 1780624829,
    "banned": false,
    "wipe": 1780599937,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5623,
    "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/11717888");
$data = json_decode($json, true);
var_dump($data);