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

text
https://api.gamemonitoring.ru/servers/20004302
json
{
  "response": {
    "add_date": 1794416932,
    "app": {
      "id": 48,
      "name": "Unturned",
      "steam_id": 304930,
      "url": "unturned"
    },
    "color": 0,
    "connect": "82.223.39.102:27015",
    "country": "ES",
    "domain": null,
    "game": 304930,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20004302,
    "ip": "82.223.39.102",
    "language": "es",
    "last_update": 1794968067,
    "map": "PEI",
    "maxplayers": 24,
    "name": "SAGATECH Unturned",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27015,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27015,
    "request": "82.223.39.102:27015",
    "secured": false,
    "status": true,
    "steam_id": "85568392937000532",
    "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": 1794957193,
    "last_online": 1794968067,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 1203,
    "wipe_period": null,
    "os": "l",
    "region": -1,
    "product": "Unturned",
    "gametype": "PVP,CHy,NRM,2Pp,WSn,F2P,BEn,<net>sns</net>",
    "dedicated": true
  }
}

Примеры кода

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