面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10111004
json
{
  "response": {
    "fps": 72,
    "fps_avg": 65,
    "entities_count": 77966,
    "world_seed": 1337,
    "world_size": 3850,
    "steam_id": "90286603420384286",
    "domain": null,
    "id": 10111004,
    "ip": "156.236.84.201",
    "port": 28070,
    "query": 28071,
    "color": 0,
    "city": "City of London",
    "description": "![AQUA Rust | EU 10x Monthly | Kits | No BPs | PVP | Shop | MyMin](https://www.dropbox.com/scl/fi/jocksyeddy4q0nneelu3w/AquaServerHeader_10x.png?rlkey=6lzb351mo0um1dies6n5835rh&st=zfwm7f8l&dl=1)\nAQUA - 10X Monthly\r\nA chill 10X designed for those that want to play modded without the stress! \r\n\r\n ● Offline Raid Protection - Your base will be more expensive to raid if you are offline, this protection decreases over time\r\n ● Raid Times\r\n ● Skinbox/skinner V3\r\n ● Purchase Recyclers, Marketplace Drone Shops and MLRS launchers for your base\r\n ● BetterTC - upgrade and reskin base from the TC\r\n ● Plants grow twice as fast\r\n ● Building Symmetry \r\n ● Anti Grief Base TC Protection \r\n ● My Mini\r\n ● Shop\r\n ● Old Attack Heli Mechanics = no fleeing\r\n ● Faster Smelting, Crafting, Recycling\r\n ● Loot ++ \r\n ● Sams don't target authorised player \r\n ● Clans and Auto Auth/Sharing of turrets, cupboards and locks\r\n ● Lock Anything",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780135416,
    "last_online": 1780602629,
    "icon": null,
    "name": "AQUA Rust | EU 10x Monthly | Kits | No BPs | PVP | Shop | MyMin",
    "connect": "156.236.84.201:28070",
    "request": "156.236.84.201:28071",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 8,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1755619642,
    "last_update": 1780602629,
    "banned": false,
    "wipe": 1780594613,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1646,
    "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/10111004");
$data = json_decode($json, true);
var_dump($data);