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

text
https://api.gamemonitoring.ru/servers/11394498
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11394498,
    "ip": "81.71.129.240",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Guangzhou",
    "description": null,
    "game": 1012110,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774596971,
    "score": 0,
    "last_online": 1777651853,
    "icon": null,
    "name": "小李大house",
    "connect": "81.71.129.240:27015",
    "request": "81.71.129.240:27015",
    "map": "mcv_mansion",
    "gamemode": "Zombies | Zombies",
    "version": "1.38.0.0",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1774596971,
    "last_update": 1777651853,
    "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": 26,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 1611160,
      "steam_id": 1012110,
      "name": "Military Conflict: Vietnam",
      "url": "military-conflict-vietnam"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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