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

text
https://api.gamemonitoring.ru/servers/11219105
json
{
  "response": {
    "channels": {
      "onlinecount": 19,
      "items": [
        {
          "clients": -1,
          "id": 4,
          "items": [],
          "name": "[spacer0]                    BIENVENIDOS",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "Sala de Espera",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "Recepción",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 7,
          "items": [
            {
              "clients": 0,
              "id": 8,
              "items": [],
              "name": "Eje",
              "order": 0,
              "parent_id": 7,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 9,
              "items": [],
              "name": "Aliados",
              "order": 8,
              "parent_id": 7,
              "topic": ""
            }
          ],
          "name": "[spacer0]           DAY OF DEFEAT SOURCE",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 10,
          "items": [
            {
              "clients": 0,
              "id": 12,
              "items": [],
              "name": "Killing Floor 1",
              "order": 0,
              "parent_id": 10,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 13,
              "items": [],
              "name": "Killing Floor 2",
              "order": 12,
              "parent_id": 10,
              "topic": ""
            }
          ],
          "name": "[spacer0]                KILLING FLOOR 2",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 14,
          "items": [
            {
              "clients": 0,
              "id": 15,
              "items": [],
              "name": "Battlefield 6",
              "order": 0,
              "parent_id": 14,
              "topic": ""
            }
          ],
          "name": "[spacer0]                    BATTLEFIELD",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 16,
          "items": [
            {
              "clients": 0,
              "id": 17,
              "items": [],
              "name": "Conan Exiles 1",
              "order": 0,
              "parent_id": 16,
              "topic": ""
            }
          ],
          "name": "[spacer0]                   CONAN EXILES",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 18,
          "items": [
            {
              "clients": 0,
              "id": 19,
              "items": [],
              "name": "Sala 1",
              "order": 0,
              "parent_id": 18,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 20,
              "items": [],
              "name": "Sala 2",
              "order": 19,
              "parent_id": 18,
              "topic": ""
            }
          ],
          "name": "[spacer0]                       PALWORLD",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 21,
          "items": [
            {
              "clients": 0,
              "id": 22,
              "items": [],
              "name": "Reuniones",
              "order": 0,
              "parent_id": 21,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 23,
              "items": [],
              "name": "Grabando (llamen antyes de entrar)",
              "order": 22,
              "parent_id": 21,
              "topic": ""
            }
          ],
          "name": "Sala de Admins",
          "order": 18,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "CFl+muWokoYdC1kN7uFWeewqHks=",
    "platform": "Linux",
    "created": 1761409388,
    "uptime": 136155,
    "steam_id": null,
    "domain": "www.jarabedepala.com",
    "id": 11219105,
    "ip": "119.12.235.211",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Elche",
    "description": "Bienvenido al Servidor de TeamSpeak 3,Visita nuestra web www.jarabedepala.com",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776676952,
    "score": 0,
    "last_online": 1776895819,
    "icon": null,
    "name": "[ESP]TS3 Jarabe de Pala {www.jarabedepala.com{",
    "connect": "www.jarabedepala.com:9987",
    "request": "119.12.235.211:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 1,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "ES",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1772701453,
    "last_update": 1776895819,
    "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": 139,
    "language": "es",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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