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

text
https://api.gamemonitoring.ru/servers/20012078
json
{
  "response": {
    "add_date": 1794430753,
    "app": {
      "id": 63,
      "name": "DayZ",
      "steam_id": 221100,
      "url": "dayz"
    },
    "color": 0,
    "connect": "125.26.214.201:3060",
    "country": "TH",
    "domain": null,
    "game": 221100,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20012078,
    "ip": "125.26.214.201",
    "language": "th",
    "last_update": 1794683707,
    "map": "jungledemoworld",
    "maxplayers": 10,
    "name": "hc-test",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 3060,
    "private": null,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27960,
    "request": "125.26.214.201:27960",
    "secured": true,
    "status": false,
    "steam_id": "90297325419900951",
    "version": "1.30.164289",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Хуахин",
    "description": null,
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794683707,
    "last_online": 1794478804,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 65574,
    "wipe_period": null,
    "os": "w",
    "time": "12:11",
    "queue": 0,
    "region": -1,
    "product": "dayz",
    "gametype": "no3rd,external,privHive,shardABC123,lqs0,mod,12:11",
    "dedicated": true,
    "dlc_enabled": false,
    "first_person": true
  }
}

Примеры кода

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