面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11511276
json
{
  "response": {
    "fps": 155,
    "fps_avg": 157,
    "entities_count": 123758,
    "world_seed": 10240106,
    "world_size": 4500,
    "steam_id": "90286581684857885",
    "domain": null,
    "id": 11511276,
    "ip": "213.173.13.4",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "City of London",
    "description": "![[Uk/EU] Rusty Fly Killer - NoBPwipe Noob Friendly](https://i.ibb.co/XrJM9czK/rustylogo.jpg)\nWelcome to... [UK/EU] Rusty Fly Killer - NoBPwipe Noob Friendly \n \n Last Wipe 07/05/2026 Next Wipe 07/06/2026 \n \n Vanilla Server with lower decay \n \n Discord channel here > https://discord.gg/ZKYP6peTXD \n \n Notice: Turret Limit Removed on 04/01/2024 \n \n The latest Rules for 2026 \n 1.)No Hate Crimes or Racism \n 2.) Forced monthly wipes only! \n 3.) Noobs welcome \n 4.) All Cheaters will be banned! \n 5.) No Vac Ban or Game bans Allowed \n 6.) Responsible fair admin \n \n This Server is Sponsored by Peachy Servers \n Https://peachyservers.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780460051,
    "last_online": 1780554033,
    "icon": null,
    "name": "[Uk/EU] Rusty Fly Killer - NoBPwipe Noob Friendly",
    "connect": "213.173.13.4:28015",
    "request": "213.173.13.4:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353840,
    "last_update": 1780554033,
    "banned": false,
    "wipe": 1778180563,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5129,
    "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/11511276");
$data = json_decode($json, true);
var_dump($data);