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

text
https://api.gamemonitoring.ru/servers/17790172
json
{
  "response": {
    "add_date": 1791227779,
    "app": {
      "id": 2949,
      "name": "American Truck Simulator",
      "steam_id": 270880,
      "url": "american-truck-simulator"
    },
    "color": 0,
    "connect": null,
    "country": "DE",
    "domain": null,
    "game": 270880,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 17790172,
    "ip": null,
    "language": "de",
    "last_update": 1791252391,
    "map": "usa",
    "maxplayers": 8,
    "name": "Cornys Ets2",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": null,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": null,
    "request": null,
    "secured": false,
    "status": false,
    "steam_id": "90293933504160789",
    "version": null,
    "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": 1791252391,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": true,
    "position_game": 1604,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "ats",
    "gametype": "ZABlAEsAAAA=",
    "dedicated": false
  }
}

Примеры кода

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