面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11639187
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 40385,
    "world_seed": 1337,
    "world_size": 2500,
    "steam_id": "90286899578893336",
    "domain": null,
    "id": 11639187,
    "ip": "66.51.99.70",
    "port": 28000,
    "query": 28001,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": "![[LATAM WAR] 1.5x | Solo/Duo/Trio | Noob Friendly | Shared BPs](https://www.dropbox.com/scl/fi/b3a4yhaz9dpl3wxrg90pt/ChatGPT-Image-Jun-5-2026-11_07_46-PM.png?rlkey=m1skisthed1faflyexznyjfqb&st=n54nldjn&dl=1)\n[LATAM WAR] 1.5x | Solo/Duo/Trio | Noob Friendly | Shared BPs\r\n\r\nWipe semanal: Jueves 3:00 PM\r\nBlueprint Wipe: Primer jueves de cada mes\r\n\r\n• 1.5x Gather rate on resources\r\n• Sulfuro Ore Vanilla\r\n• Blueprints compartidos\r\n• 50% mantenimiento (Upkeep)\r\n• Fast Crafting (fabricación rápida)\r\n• Fast Smelting (fundición rápida)\r\n• Recicladoras en todos los monumentos\r\n• Outpost + Bandit Camp combinados\r\n\r\nReglas:\r\n• Máximo 3 jugadores por equipo\r\n• No alianzas\r\n• No teaming\r\n\r\n¡Disfruta de la experiencia LATAM WAR!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1781208831,
    "last_online": 1781342427,
    "icon": null,
    "name": "[LATAM WAR] 1.5x | Solo/Duo/Trio | Noob Friendly | Shared BPs",
    "connect": "66.51.99.70:28000",
    "request": "66.51.99.70:28001",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779917956,
    "last_update": 1781342427,
    "banned": false,
    "wipe": 1781222546,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5434,
    "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/11639187");
$data = json_decode($json, true);
var_dump($data);