面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/11778831
json
{
  "response": {
    "steam_id": null,
    "domain": "sixnxr.servmine.top",
    "id": 11778831,
    "ip": "178.72.132.172",
    "port": 25009,
    "query": 25009,
    "project_id": null,
    "color": 0,
    "city": "St Petersburg",
    "description": null,
    "game": 9000034,
    "owner": 200718,
    "boosts": 1,
    "last_offline": 1781368424,
    "last_online": 1781389834,
    "icon": null,
    "name": "⚔⚔ BLKFlexing | Полу-Анархия ⚔⚔ 20.06.2026 | ★ BattlePass | ❖ Античит | ♪ VC",
    "connect": "sixnxr.servmine.top:25009",
    "request": "178.72.132.172:25009",
    "map": null,
    "gamemode": null,
    "version": "1.21.11",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1781368424,
    "last_update": 1781389834,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 166,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": {
      "username": "sixner",
      "avatar": "8db0157b-e49e-49d2-aed2-db68418e5eef.webp"
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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