JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/11541025
json
{
  "response": {
    "steam_id": "90285155294594064",
    "domain": null,
    "id": 11541025,
    "ip": "82.156.135.96",
    "port": 46335,
    "query": 46835,
    "color": 0,
    "city": "Beijing",
    "description": null,
    "game": 221100,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779355413,
    "last_online": 1779484979,
    "icon": null,
    "name": "天赋树自由加点 | 坦克治疗输出铁三角 | 四十人",
    "connect": "82.156.135.96:46335",
    "request": "82.156.135.96:46835",
    "map": "chernarusplus",
    "gamemode": null,
    "version": "129",
    "numplayers": 0,
    "maxplayers": 70,
    "bots": 150,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1779355413,
    "last_update": 1779484979,
    "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": 4974,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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