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

text
https://api.gamemonitoring.ru/servers/19798332
json
{
  "response": {
    "add_date": 1794099978,
    "app": {
      "id": 48,
      "name": "Unturned",
      "steam_id": 304930,
      "url": "unturned"
    },
    "color": 0,
    "connect": "178.168.208.14:29970",
    "country": "BY",
    "domain": null,
    "game": 304930,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 19798332,
    "ip": "178.168.208.14",
    "language": "be",
    "last_update": 1794972907,
    "map": "Washington",
    "maxplayers": 12,
    "name": "Private passage comparison",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 29970,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 29970,
    "request": "178.168.208.14:29970",
    "secured": false,
    "status": false,
    "steam_id": "90296968452423687",
    "version": "1.0.0.0",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Могилёв",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794972907,
    "last_online": 1794099978,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 2918,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "Unturned",
    "gametype": "PVP,CHn,NRM,1Pp,WSn,F2P,BEn,<net>sns</net>,<pf>rm</pf>",
    "dedicated": true
  }
}

Примеры кода

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