面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11744636
json
{
  "response": {
    "fps": 148,
    "fps_avg": 142,
    "entities_count": 96736,
    "world_seed": 1757954254,
    "world_size": 4250,
    "steam_id": "90286394106088474",
    "domain": null,
    "id": 11744636,
    "ip": "103.15.236.193",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Melbourne",
    "description": "![UnderWorld AU | Monthly | Vanilla | AU](https://cdn.discordapp.com/attachments/1504120439356784760/1504896135301566516/content.png?ex=6a08a73eserver.headerimage)\nUnderWorld Connections has Brought you another Great server... UnderWorld Au is our Rust Monthly Wipe server All Clans Are Welcome Make sure you join our Rust Dedicated Discord Server To keep up to date with Wipe Discord Trophies and More https://discord.gg/mRd3TVp9Xm. ***NEXT WIPE IS ON THE 16-6-2026 6:00am***  - Monthly Wipes - Max Clan is 15 Members - Active Admins - Vanilla  Enjoy UnderWorld Today Be the Best Out there",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780518717,
    "last_online": 1780624830,
    "icon": null,
    "name": "UnderWorld AU | Monthly | Vanilla | AU",
    "connect": "103.15.236.193:28015",
    "request": "103.15.236.193:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780518717,
    "last_update": 1780624830,
    "banned": false,
    "wipe": 1779450673,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5708,
    "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/11744636");
$data = json_decode($json, true);
var_dump($data);