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

text
https://api.gamemonitoring.ru/servers/1397169
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 1397169,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "",
    "game": 7940,
    "owner": 43881,
    "boosts": 1,
    "last_offline": 1759827220,
    "score": null,
    "last_online": 1757176238,
    "icon": null,
    "name": "[R.O.G] Republic of Gamers | Only Sniper [SD] Rounds: 7/20",
    "connect": null,
    "request": null,
    "map": "mp_crash",
    "gamemode": "Call of Duty 4 - Modern Warfare",
    "version": null,
    "numplayers": 0,
    "maxplayers": 24,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "HU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1695738911,
    "last_update": 1759827220,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 94,
    "language": "hu",
    "parked": true,
    "app": {
      "id": 1629111,
      "steam_id": 7940,
      "name": "Call of Duty 4: Modern Warfare",
      "url": "call-of-duty-4-modern-warfare"
    },
    "server_owner": {
      "username": "FNandi97",
      "avatar": "1d27b077-fe89-4d7d-9115-ff2c69943e4c.jpg",
      "last_online": 1698716752
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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