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

text
https://api.gamemonitoring.ru/servers/20029669
json
{
  "response": {
    "add_date": 1794466438,
    "app": {
      "id": 1629104,
      "name": "Counter-Strike: Global Offensive",
      "steam_id": 4465480,
      "url": "counter-strike-global-offensive"
    },
    "color": 0,
    "connect": null,
    "country": "PL",
    "domain": null,
    "game": 4465480,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20029669,
    "ip": null,
    "language": "pl",
    "last_update": 1794494474,
    "map": "dz_sirocco",
    "maxplayers": 18,
    "name": "CSCO.gg | DangerZone #1 [TEST]",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": null,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": null,
    "request": null,
    "secured": true,
    "status": false,
    "steam_id": "85568392936049018",
    "version": "1.38.8.1",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Варшава",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": null,
    "last_online": 1794494474,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": true,
    "position_game": 3608,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "csgo",
    "gametype": "empty,secure",
    "dedicated": true
  }
}

Примеры кода

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