面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9543745
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 98831,
    "world_seed": 928471597,
    "world_size": 4250,
    "steam_id": "90286573176418330",
    "domain": null,
    "id": 9543745,
    "ip": "45.132.75.200",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Singapore",
    "description": "![RustGalaxy Nexus Singapore](https://rustne.ws/wp-content/uploads/2025/06/rust-server-header-512x256-1.jpg)\nRustGalaxy: The Original Nexus Network! Dial any of our 17 global servers via the Outpost telephone and seamlessly transfer with your inventory. Facepunch promised it, we delivered. No lag, no cheaters. Just pure survival across continents.\r\n\r\nMonthly map and blueprint wipes.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780522465,
    "last_online": 1780549834,
    "icon": null,
    "name": "RustGalaxy Nexus Singapore",
    "connect": "45.132.75.200:28015",
    "request": "45.132.75.200:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SG",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750544958,
    "last_update": 1780549834,
    "banned": false,
    "wipe": 1778176652,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3046,
    "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/9543745");
$data = json_decode($json, true);
var_dump($data);