面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11501069
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 116174,
    "world_seed": 864221,
    "world_size": 3500,
    "steam_id": "90286640768704532",
    "domain": null,
    "id": 11501069,
    "ip": "136.243.0.224",
    "port": 28065,
    "query": 28066,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[DE/EU] Rustify Trio | Vanilla+ 2x | FullWipe 05.06](https://i.imgur.com/UNws558.png)\nWillkommen auf Rustify Trio 2x\r\n\r\n➤ WIPE INFO\r\n• Map Wipe alle 2 Wochen\r\n• Fullwipe + SkillTree Reset monatlich\r\n\r\n➤ SERVER FEATURES\r\n• Trio Server (max. 3 Spieler)\r\n• Vanilla+ 2x Gather & Scrap\r\n• Größere Stacks\r\n• SkillTree System\r\n• Convoy & Dungeon Events\r\n• Aktive Admins\r\n• Performance optimiert\r\n\r\n➤ QUALITY OF LIFE\r\n• RemoverTool\r\n• Kits\r\n• Verbesserte UI\r\n\r\n➤ SERVER REGELN\r\n• Maximal 3 Spieler pro Team/Base\r\n• Kein Cheating oder Exploiting\r\n• Kein Bugusing\r\n• Kein Ban Evading\r\n• Respektvoll im Chat bleiben\r\n\r\nViel Spaß auf Rustify Trio 2x",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780678463,
    "last_online": 1780687832,
    "icon": null,
    "name": "[DE/EU] Rustify Trio | Vanilla+ 2x | FullWipe 05.06",
    "connect": "136.243.0.224:28065",
    "request": "136.243.0.224:28066",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 4,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1779207167,
    "last_update": 1780687832,
    "banned": false,
    "wipe": 1780678763,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2858,
    "language": "de",
    "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/11501069");
$data = json_decode($json, true);
var_dump($data);