面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11596702
json
{
  "response": {
    "fps": 90,
    "fps_avg": 89,
    "entities_count": 112924,
    "world_seed": 527962823,
    "world_size": 4500,
    "steam_id": "90286612767719445",
    "domain": null,
    "id": 11596702,
    "ip": "153.196.53.32",
    "port": 28017,
    "query": 28015,
    "color": 0,
    "city": "Nagano",
    "description": "![[JP] INAKA Vanilla Bi-weekly | 06/05 BP Wipe](https://chatgpt.com/backend-api/estuary/public_content/enc/eyJpZCI6Im1fNjhiZTM4NTBkM2RjODE5MWI4ZGJkNjU2MWIxZmUzZWQ6ZmlsZV8wMDAwMDAwMDVlOTA2MWY0YjUxNmYyOGJmM2Q5ODQ1NiIsInRzIjoiNDg4MTgzIiwicCI6InB5aSIsImNpZCI6IjEiLCJzaWciOiJkNDdlZGU3ZDY3NDc2MDk4NDg3NGQ4ZGQ4N2ZhZWU5MTA3N2NhZTYxY2QzYzBmNDc4N2U0NTVhZGZiOTE1ZTA2IiwidiI6IjAiLCJnaXptb19pZCI6bnVsbCwiY3AiOm51bGx9)\nJP Only!!\r\n※新規アカウント及びプロフィールが非公開の場合はログインできません\r\nFull wipe on force wipe.\r\nMap wipe on the 3rd, and 5th Friday of the month..\r\nThis server will reboot every morning at 5:30 (JST).\r\nIP address changes irregularly to avoid DDOS.\r\nPlease speak Japanese or English in Global Chat.(speaking other languages may result in being kicked or banned.)\r\n\r\nBanned acts: spamming, hate speech, abusive language, racist remarks, harassment, goosing, sniping.\r\nHave a good time!\r\nDo not cheat!\r\n\r\nHave a good time.\r\nDo not cheating!!\r\nrs01$8:aozJ^0rAi4001$Y",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780615456,
    "last_online": 1780631428,
    "icon": null,
    "name": "[JP] INAKA Vanilla Bi-weekly | 06/05 BP Wipe",
    "connect": "153.196.53.32:28017",
    "request": "153.196.53.32:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "JP",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779358597,
    "last_update": 1780631428,
    "banned": false,
    "wipe": 1780615453,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4970,
    "language": "ja",
    "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/11596702");
$data = json_decode($json, true);
var_dump($data);