面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11501794
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 28894,
    "world_seed": 1524417776,
    "world_size": 2500,
    "steam_id": "90286425377972233",
    "domain": null,
    "id": 11501794,
    "ip": "194.69.160.95",
    "port": 28087,
    "query": 28089,
    "color": 0,
    "city": "City of London",
    "description": "![[EU] Brad’s Corner | 2x | Monthly | PvE | Friendly Community](https://www.dropbox.com/scl/fi/0vwks77zus2id1bjcayax/ChatGPT-Image-May-18-2026-08_42_37-AM.png?rlkey=xx87xwo3t9wfwt6v0dx2u2x1z&st=qqh4xrvv&dl=1)\nWelcome to Brads Corner! \r\n  \r\n We run a 2x Gather/Loot server on a monthly wipe cycle, in-line with Facepunchs' official updates. \r\n  \r\n This is a PvE server with hopefully aspects of turning into a roleplay server in the future if we can get a playerbase. \r\n  \r\n - 2x Gather/Loot \r\n - Roaming Mob Bosses \r\n - Space Event \r\n - Active Administration and Development team \r\n - LGBTQ+ Friendly Community \r\n  \r\n We also host servers on Conan Exiles, Ark Survival Ascended and much more! \r\n  \r\n Join our discord @ dsc.gg/bradscorner",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207181,
    "last_online": 1780629031,
    "icon": null,
    "name": "[EU] Brad’s Corner | 2x | Monthly | PvE | Friendly Community",
    "connect": "194.69.160.95:28087",
    "request": "194.69.160.95:28089",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207181,
    "last_update": 1780629031,
    "banned": false,
    "wipe": 1778494450,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4526,
    "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/11501794");
$data = json_decode($json, true);
var_dump($data);