面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10661623
json
{
  "response": {
    "fps": 100,
    "fps_avg": 96,
    "entities_count": 124433,
    "world_seed": 2129308312,
    "world_size": 4500,
    "steam_id": "90286617171659799",
    "domain": null,
    "id": 10661623,
    "ip": "37.230.162.180",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Moscow",
    "description": "![Moscow | Для новичков | Друзья](https://gspics.org/images/2026/03/22/IAuU5T.png)\nНовый сервер RUST MOSCOW x1\r\n\r\n— старт без боли (быстрый прогресс)\r\n100% защита от рейда\r\n— спокойная игра без токсика\r\n— автодвери, рюкзак, турели без электричества\r\n— ивенты с наградами\r\n\r\nБОНУС для новых игроков:\r\n заходи в наш магазин и забирай VIP бесплатно\r\nНаш ТГ канал и чат - https://t.me/Rust_Mos_Srv",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779847402,
    "last_online": 1780636227,
    "icon": null,
    "name": "Moscow | Для новичков | Друзья",
    "connect": "37.230.162.180:28015",
    "request": "37.230.162.180:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764544764,
    "last_update": 1780636227,
    "banned": false,
    "wipe": 1779321377,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3542,
    "language": "ru",
    "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/10661623");
$data = json_decode($json, true);
var_dump($data);