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

text
https://api.gamemonitoring.ru/servers/11142883
json
{
  "response": {
    "channels": {
      "onlinecount": 93,
      "items": [
        {
          "clients": 0,
          "id": 1130,
          "items": [
            {
              "clients": 0,
              "id": 1000,
              "items": [
                {
                  "clients": 0,
                  "id": 2785,
                  "items": [],
                  "name": "subolokos - help here",
                  "order": 0,
                  "parent_id": 1000,
                  "topic": ""
                }
              ],
              "name": "❌ olokos's Lair Offline",
              "order": 0,
              "parent_id": 1130,
              "topic": "Den"
            },
            {
              "clients": 0,
              "id": 1270,
              "items": [
                {
                  "clients": 0,
                  "id": 1903,
                  "items": [],
                  "name": "MrkyAce is offline. ⚪",
                  "order": 0,
                  "parent_id": 1270,
                  "topic": ""
                }
              ],
              "name": "❌ 💎  я найду тебя ты пиздец💎 Offline",
              "order": 1000,
              "parent_id": 1130,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 1398,
              "items": [
                {
                  "clients": 0,
                  "id": 1480,
                  "items": [],
                  "name": "silver_bdf is offline. ⚪",
                  "order": 0,
                  "parent_id": 1398,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 9326,
                  "items": [],
                  "name": "🔍 kanal pomocy - wejdz po pomoc🔎",
                  "order": 1480,
                  "parent_id": 1398,
                  "topic": ""
                }
              ],
              "name": "✅ Tyralnia Silver'a Online",
              "order": 1270,
              "parent_id": 1130,
              "topic": ""
            }
          ],
          "name": "[cspacer]••• Administrative Zone •••",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2429,
          "items": [],
          "name": "[*spacer3]__",
          "order": 24,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 305,
          "items": [],
          "name": "[*spacer7]__",
          "order": 65,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 610,
          "items": [],
          "name": "[*spacer9]__",
          "order": 69,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5764,
          "items": [],
          "name": "[6spacer]",
          "order": 305,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 65,
          "items": [
            {
              "clients": 0,
              "id": 3690,
              "items": [
                {
                  "clients": 0,
                  "id": 4314,
                  "items": [],
                  "name": "Talk Channel #1",
                  "order": 0,
                  "parent_id": 3690,
                  "topic": ""
                }
              ],
              "name": "General - NFSW / Ogólny - Tyralnia",
              "order": 0,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1304,
              "items": [
                {
                  "clients": 0,
                  "id": 4307,
                  "items": [],
                  "name": "WoT Channel #1",
                  "order": 0,
                  "parent_id": 1304,
                  "topic": ""
                }
              ],
              "name": "World of Tanks",
              "order": 1283,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1345,
              "items": [
                {
                  "clients": 0,
                  "id": 10921,
                  "items": [],
                  "name": "GTA V Channel #1",
                  "order": 0,
                  "parent_id": 1345,
                  "topic": ""
                }
              ],
              "name": "Grand Theft Auto V",
              "order": 1293,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1293,
              "items": [
                {
                  "clients": 0,
                  "id": 4305,
                  "items": [],
                  "name": "LoL Channel #1",
                  "order": 0,
                  "parent_id": 1293,
                  "topic": ""
                }
              ],
              "name": "League of Legends",
              "order": 1304,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1315,
              "items": [
                {
                  "clients": 0,
                  "id": 10927,
                  "items": [],
                  "name": "Valo Channel #1",
                  "order": 0,
                  "parent_id": 1315,
                  "topic": ""
                }
              ],
              "name": "Valorant",
              "order": 1345,
              "parent_id": 65,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1283,
              "items": [
                {
                  "clients": 0,
                  "id": 10646,
                  "items": [],
                  "name": "CS 2 Channel #1",
                  "order": 0,
                  "parent_id": 1283,
                  "topic": ""
                }
              ],
              "name": "Counter-Strike",
              "order": 3690,
              "parent_id": 65,
              "topic": ""
            }
          ],
          "name": "[cspacer]••• Public gaming rooms •••",
          "order": 610,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11471,
          "items": [],
          "name": "Post tarkov stress disorder",
          "order": 641,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3797,
          "items": [],
          "name": "[*spacer11]__",
          "order": 1130,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 641,
          "items": [
            {
              "clients": 2,
              "id": 5181,
              "items": [
                {
                  "clients": 0,
                  "id": 8237,
                  "items": [],
                  "name": "🏹Giercownia🏹",
                  "order": 0,
                  "parent_id": 5181,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 5182,
                  "items": [],
                  "name": "own3dstylepl is offline. ⚪",
                  "order": 8237,
                  "parent_id": 5181,
                  "topic": ""
                }
              ],
              "name": "🐍 Jadalnia Bezbeka🐍",
              "order": 0,
              "parent_id": 641,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5070,
              "items": [
                {
                  "clients": 0,
                  "id": 8483,
                  "items": [],
                  "name": "#1",
                  "order": 0,
                  "parent_id": 5070,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 8484,
                  "items": [],
                  "name": "#2",
                  "order": 8483,
                  "parent_id": 5070,
                  "topic": ""
                }
              ],
              "name": "INTERESTING PERSONALITIES",
              "order": 1324,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 6463,
              "items": [],
              "name": "Orzeł Gej",
              "order": 5070,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 1324,
              "items": [],
              "name": "Orki i Trolle",
              "order": 5181,
              "parent_id": 641,
              "topic": "Orki i Trolle"
            },
            {
              "clients": 0,
              "id": 7528,
              "items": [
                {
                  "clients": 0,
                  "id": 8091,
                  "items": [],
                  "name": "Hefalumpy2",
                  "order": 0,
                  "parent_id": 7528,
                  "topic": ""
                }
              ],
              "name": "hefalumpy",
              "order": 6463,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 2,
              "id": 7614,
              "items": [
                {
                  "clients": 0,
                  "id": 11250,
                  "items": [],
                  "name": "tsv3l3",
                  "order": 0,
                  "parent_id": 7614,
                  "topic": ""
                }
              ],
              "name": "gaming room",
              "order": 7528,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 1,
              "id": 9696,
              "items": [],
              "name": "Cobolova roomka",
              "order": 7614,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 3,
              "id": 10137,
              "items": [
                {
                  "clients": 0,
                  "id": 10164,
                  "items": [],
                  "name": "01 cwele",
                  "order": 0,
                  "parent_id": 10137,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 10165,
                  "items": [],
                  "name": "02 sigmy",
                  "order": 10164,
                  "parent_id": 10137,
                  "topic": ""
                }
              ],
              "name": "Tyralnia",
              "order": 9696,
              "parent_id": 641,
              "topic": "Created by Marul4"
            },
            {
              "clients": 0,
              "id": 10155,
              "items": [],
              "name": "skull-lord and co",
              "order": 10137,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 10586,
              "items": [],
              "name": "Cuhz",
              "order": 10155,
              "parent_id": 641,
              "topic": ""
            },
            {
              "clients": 1,
              "id": 10648,
              "items": [],
              "name": "Pociąg",
              "order": 10586,
              "parent_id": 641,
              "topic": "Holly Molly Mnie Popierdoli"
            },
            {
              "clients": 0,
              "id": 10706,
              "items": [],
              "name": "banda cwela",
              "order": 10648,
              "parent_id": 641,
              "topic": "żydzi na madagaskar Polska dla Polaków"
            },
            {
              "clients": 0,
              "id": 10992,
              "items": [],
              "name": "saperkill's Private room",
              "order": 10706,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 3,
              "id": 11064,
              "items": [],
              "name": "1001-8",
              "order": 10992,
              "parent_id": 641,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 11209,
              "items": [],
              "name": "JEBAĆ PSY JARAĆ TOWAR",
              "order": 11064,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11244,
              "items": [],
              "name": "nox to kox do chuja",
              "order": 11209,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11282,
              "items": [],
              "name": "KedzmarTEAM",
              "order": 11244,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11317,
              "items": [],
              "name": "ARC RAIDERS TO NARKOTYK",
              "order": 11282,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11322,
              "items": [],
              "name": "mefka mefka cs",
              "order": 11317,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11374,
              "items": [],
              "name": "krzys1ex.'s Private room",
              "order": 11322,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11396,
              "items": [],
              "name": "Chudy's Private room",
              "order": 11374,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 2,
              "id": 11424,
              "items": [],
              "name": "Pietrek i Kris",
              "order": 11396,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11468,
              "items": [],
              "name": "no to pograne_expiring",
              "order": 11424,
              "parent_id": 641,
              "topic": "temat rakieta"
            },
            {
              "clients": 0,
              "id": 11477,
              "items": [],
              "name": "cwelnia",
              "order": 11468,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11481,
              "items": [],
              "name": "Bejk's Private room",
              "order": 11477,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11499,
              "items": [],
              "name": "cyganska twierdza",
              "order": 11481,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11503,
              "items": [],
              "name": "Ruchalnia",
              "order": 11499,
              "parent_id": 641,
              "topic": "Twoja stara"
            },
            {
              "clients": 0,
              "id": 11512,
              "items": [],
              "name": "spokoziomek's Private room",
              "order": 11503,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11514,
              "items": [],
              "name": "### HUNT SHOWDOWN ###",
              "order": 11512,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11532,
              "items": [],
              "name": "`RAVEL",
              "order": 11514,
              "parent_id": 641,
              "topic": "Created by PrivateChannelManager"
            },
            {
              "clients": 0,
              "id": 11547,
              "items": [],
              "name": "lets sznorb",
              "order": 11532,
              "parent_id": 641,
              "topic": ""
            }
          ],
          "name": "[cspacer]••• Private rooms •••",
          "order": 1165,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 24,
          "items": [
            {
              "clients": 0,
              "id": 2608,
              "items": [],
              "name": "Tips and tricks / Rady i wskazówki",
              "order": 0,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 3801,
              "items": [],
              "name": "VIP - How and why?",
              "order": 200,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 10917,
              "items": [],
              "name": "Discord https://discord.gg/zubXa7j",
              "order": 1023,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1023,
              "items": [],
              "name": "Bot Guide / Poradnik do Bota",
              "order": 1102,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1102,
              "items": [],
              "name": "Backup Server / Zapasowy serwer",
              "order": 2435,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 200,
              "items": [],
              "name": "Want help? Go HERE ! / Kanał pomocy",
              "order": 2608,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 4439,
              "items": [],
              "name": "Free Streamer Room / Pokój Streamera",
              "order": 3801,
              "parent_id": 24,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2435,
              "items": [],
              "name": "Online Clients Record: 71",
              "order": 4439,
              "parent_id": 24,
              "topic": "Record: 71 Date: 25.03.2026 21:41"
            }
          ],
          "name": "[cspacer]••• Support Zone •••",
          "order": 2428,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 69,
          "items": [
            {
              "clients": 0,
              "id": 1080,
              "items": [],
              "name": "AFK",
              "order": 0,
              "parent_id": 69,
              "topic": ""
            },
            {
              "clients": 5,
              "id": 1208,
              "items": [],
              "name": "Bot Depo",
              "order": 1,
              "parent_id": 69,
              "topic": ""
            },
            {
              "clients": 3,
              "id": 1,
              "items": [],
              "name": "Lobby /  Poczekalnia",
              "order": 1080,
              "parent_id": 69,
              "topic": "Poczekalnia"
            }
          ],
          "name": "[cspacer]••• Lobby •••",
          "order": 2429,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5757,
          "items": [],
          "name": "[spacer]",
          "order": 3797,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2428,
          "items": [],
          "name": "[*spacer1]__",
          "order": 3799,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5758,
          "items": [],
          "name": "[991spacer]",
          "order": 5757,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5759,
          "items": [],
          "name": "[2spacer]",
          "order": 5758,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5760,
          "items": [],
          "name": "[3spacer]",
          "order": 5759,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5761,
          "items": [],
          "name": "[4spacer]",
          "order": 5760,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3799,
          "items": [],
          "name": "[cspacer] ••• VIP+ Zone •••",
          "order": 5761,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5765,
          "items": [],
          "name": "[7spacer]",
          "order": 5764,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5766,
          "items": [],
          "name": "[8spacer]",
          "order": 5765,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5767,
          "items": [],
          "name": "[9spacer]",
          "order": 5766,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5768,
          "items": [],
          "name": "[10spacer]",
          "order": 5767,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1165,
          "items": [
            {
              "clients": 0,
              "id": 997,
              "items": [],
              "name": "Chcę własny kanał! \\p I want my own room!",
              "order": 0,
              "parent_id": 1165,
              "topic": ""
            }
          ],
          "name": "[cspacer]••• Create private room •••",
          "order": 5768,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "vRI5XazQ8UsaoYj+uNToUYK0mxQ=",
    "platform": "Linux",
    "created": 0,
    "uptime": 14387198,
    "steam_id": null,
    "domain": null,
    "id": 11142883,
    "ip": "146.59.92.58",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Warsaw",
    "description": "Witamy na kiepownica.pl!\nNasz serwer stoi nieprzerwanie od 19.06.2016!\n-------------------------------------------\nWelcome to kiepownica.pl! \nOur server is up since 19.06.2016!\nTeamspeak Screen Share ogłoszony/announced! \\p https://www.facebook.com/teamspeak/posts/1012551997568206",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775764923,
    "score": 0,
    "last_online": 1776897615,
    "icon": null,
    "name": "Kiepownica.pl \\p Darmowe kanały - Free channels",
    "connect": "146.59.92.58:9987",
    "request": "146.59.92.58:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 22,
    "maxplayers": 128,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 71,
    "add_date": 1770933677,
    "last_update": 1776897615,
    "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": 60,
    "language": "pl",
    "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/11142883");
$data = json_decode($json, true);
var_dump($data);