面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11511764
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 123750,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90286595809261568",
    "domain": null,
    "id": 11511764,
    "ip": "66.51.99.41",
    "port": 28000,
    "query": 28001,
    "color": 0,
    "city": "Dallas",
    "description": "![{USA} Rusting Away {10X} Pure PVE Zombies Kits|Boss Monsters|Ev](https://i.postimg.cc/Zn3jddhv/image-2026-03-21T124801-263.png)\nCOME RUST AWAY WITH US.\r\nSERVER USES MANY PREMIUM MODS AND PLUGINS TO GIVE YOU A TRULY UNIQUE RUST EXPERIENCE.\r\nWITH GREAT PLUGINS LIKE TELEPORTATION, FREEMINI THAT TAKES NO DAMAGE, QUESTS TO EARN CASH TO USE IN SHOP, KITS, CHEST STACKS, CUSTOM LOOT, THERE'S SO MUCH TO SHARE, BUT I WANT TO GO PLAY. JUST COME ON IN AND JOIN US. YOU WILL LOVE IT. JOIN FOR THE UNIQUE RUST EXPERIENCE, LEAVE WITH NEW FRIENDS. CAN'T WAIT TO SEE YA.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779957822,
    "last_online": 1780587629,
    "icon": null,
    "name": "{USA} Rusting Away {10X} Pure PVE Zombies Kits|Boss Monsters|Ev",
    "connect": "66.51.99.41:28000",
    "request": "66.51.99.41:28001",
    "map": "RUSTING AWAY",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1779353864,
    "last_update": 1780587629,
    "banned": false,
    "wipe": 1778175793,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1365,
    "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/11511764");
$data = json_decode($json, true);
var_dump($data);