面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9967255
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 9967255,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"ztbdk5lxn\",\"type\":\"image\",\"data\":{\"caption\":\"ALFA 2x Monthly No BP Wipes EU\",\"withBorder\":false,\"withBackground\":false,\"stretched\":true,\"file\":{\"url\":\"https://gspics.org/images/2025/08/07/ItrHWj.png\"}}},{\"id\":\"4mljd79nb\",\"type\":\"paragraph\",\"data\":{\"text\":\"ALFA 2x without mods and donations\\n\\n• Pure survival. Without compromise. There are no mods or extra favors\\n\\nHere-just you\\n\\n• No plugins\\n\\n• As close as possible to the official Rust servers\\n\\n• Challenging farming and real hardcore\\n\\n• Only the most persistent and cunning survive\\n\\n• Every cartridge every wall and every minute of your life is valued here\\n\\n• To survive is to win\\n\\n• Vape cards: once every month\\n• BP: No wipe\\n• IP: connect s4.fortunarust.ru\"}}]",
    "game": 252490,
    "owner": 123195,
    "boosts": 1,
    "last_offline": 1761066781,
    "score": 0,
    "last_online": 1760053818,
    "icon": null,
    "name": "ALFA 2x Zombies  [testing]",
    "connect": null,
    "request": null,
    "map": "Turtleland Island",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1754646339,
    "last_update": 1761066781,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": true,
    "hide_address": true,
    "hide_query": false,
    "position_game": 9542,
    "language": "de",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "error520",
      "avatar": "27f1ef09-aca5-42a7-8129-eac4b3bade2f.jpg",
      "last_online": 1775576491
    },
    "mods": [
      {
        "id": 50,
        "name": "Clans"
      },
      {
        "id": 416,
        "name": "Classic"
      },
      {
        "id": 1526,
        "name": "WelcomeMessage"
      },
      {
        "id": 1279,
        "name": "RustApp"
      },
      {
        "id": 1571,
        "name": "XRate"
      },
      {
        "id": 1823,
        "name": "BetterChat"
      },
      {
        "id": 1015,
        "name": "LSkins"
      },
      {
        "id": 1827,
        "name": "PrivateMessages"
      },
      {
        "id": 551,
        "name": "Better Teams"
      },
      {
        "id": 1828,
        "name": "PrivilegeGiveaway"
      },
      {
        "id": 1829,
        "name": "No donat"
      },
      {
        "id": 1830,
        "name": "No shop"
      },
      {
        "id": 1831,
        "name": "No wipes BP"
      }
    ],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/9967255");
$data = json_decode($json, true);
var_dump($data);