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

text
https://api.gamemonitoring.ru/servers/19962936
json
{
  "response": {
    "add_date": 1794382179,
    "app": {
      "id": 1,
      "name": "Half-Life 2: Deathmatch",
      "steam_id": 320,
      "url": "half-life-2-deathmatch"
    },
    "color": 0,
    "connect": "201.58.134.26:27241",
    "country": "US",
    "domain": null,
    "game": 320,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19962936,
    "ip": "201.58.134.26",
    "language": "en",
    "last_update": 1794770131,
    "map": "dm_powerhouse",
    "maxplayers": 11,
    "name": "HL2DM AI arena",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27241,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27241,
    "request": "201.58.134.26:27241",
    "secured": false,
    "status": true,
    "steam_id": "90297308177742876",
    "version": "10889068",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 11,
    "city": "Орем",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794651319,
    "last_online": 1794770131,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 275,
    "wipe_period": null,
    "os": "l",
    "region": 255,
    "product": "hl2mp",
    "gametype": null,
    "dedicated": true
  }
}

Примеры кода

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