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

text
https://api.gamemonitoring.ru/servers/19961341
json
{
  "response": {
    "add_date": 1794381637,
    "app": {
      "id": 3,
      "name": "Counter-Strike",
      "steam_id": 10,
      "url": "counter-strike"
    },
    "color": 0,
    "connect": "2.59.162.9:27119",
    "country": "LT",
    "domain": null,
    "game": 10,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19961341,
    "ip": "2.59.162.9",
    "language": "lt",
    "last_update": 1794885937,
    "map": "de_nuke2x2",
    "maxplayers": 32,
    "name": "Головняк 19+",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27119,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27119,
    "request": "2.59.162.9:27119",
    "secured": true,
    "status": false,
    "steam_id": "90297256363867142",
    "version": "1.1.2.7/Stdio",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Вильнюс",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794885937,
    "last_online": 1794454829,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 94943,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "cstrike",
    "gametype": null,
    "dedicated": true
  }
}

Примеры кода

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