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

text
https://api.gamemonitoring.ru/servers/20083371
json
{
  "response": {
    "add_date": 1794594399,
    "app": {
      "id": 8,
      "name": "Day of Defeat: Source",
      "steam_id": 300,
      "url": "day-of-defeat-source"
    },
    "color": 0,
    "connect": "185.138.198.45:28101",
    "country": "GB",
    "domain": null,
    "game": 300,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20083371,
    "ip": "185.138.198.45",
    "language": "en",
    "last_update": 1794741984,
    "map": "dod_avalanche",
    "maxplayers": 16,
    "name": "scopedod",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 28101,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28101,
    "request": "185.138.198.45:28101",
    "secured": false,
    "status": false,
    "steam_id": "90297410748272655",
    "version": "11003710",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Манчестер",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794741984,
    "last_online": 1794594399,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 328,
    "wipe_period": null,
    "os": "l",
    "region": 255,
    "product": "dod",
    "gametype": null,
    "dedicated": true
  }
}

Примеры кода

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