面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/5844803
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 5844803,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "![gm.link/u91742 AZIMUTH RUST NOLIMIT X2 WIPE FRIDAY](https://i.imgur.com/us48q9E.jpeg)\nThis is the one AZIMUTH RUST\r\n Plugins are installed on our server for a comfortable game\r\nTeleportation\r\nKit\r\nBuildingGrades\r\nFriendlyFire\r\nNoEscape\r\nSimpleSor\r\nand much more\r\nHave a great game!",
    "game": 252490,
    "owner": 91742,
    "boosts": 1,
    "last_offline": 1758284167,
    "last_online": 1754103622,
    "icon": null,
    "name": "AZIMUTH|ДЛЯ НОВИЧКОВ|X2|WIPE|",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1725264471,
    "last_update": 1758284167,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 13256,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "Fx",
      "avatar": "0d5548eb-8cd5-4717-ac20-8b4db4d9675e.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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