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

text
https://api.gamemonitoring.ru/servers/10706875
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10706875,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Nuremberg",
    "description": null,
    "game": 70,
    "owner": 151563,
    "boosts": 1,
    "last_offline": 1779774766,
    "last_online": 1778844019,
    "icon": null,
    "name": "|•| Half-Life EUROPE 2026 Server [HL1 PRO EU]",
    "connect": null,
    "request": null,
    "map": "bootbox_vanilya",
    "gamemode": "Europe 2026",
    "version": "1.1.2.7/Stdio",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1765125049,
    "last_update": 1779774766,
    "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": 495,
    "language": "de",
    "parked": true,
    "app": {
      "id": 9,
      "steam_id": 70,
      "name": "Half-Life",
      "url": "half-life"
    },
    "server_owner": {
      "username": "HL_Europe",
      "avatar": "cac0f4e3-cd39-4cb0-9930-194e47a0236f.png"
    },
    "mods": [
      {
        "id": 379,
        "name": "VIP"
      },
      {
        "id": 435,
        "name": "VIP FREE"
      },
      {
        "id": 415,
        "name": "BunnyHop"
      },
      {
        "id": 34,
        "name": "Bhop"
      },
      {
        "id": 95,
        "name": "Damage Info"
      },
      {
        "id": 385,
        "name": "VIP Equipment"
      }
    ],
    "disabled_modules": []
  }
}

Примеры кода

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