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

text
https://api.gamemonitoring.ru/servers/11142865
json
{
  "response": {
    "channels": {
      "onlinecount": 102,
      "items": [
        {
          "clients": 0,
          "id": 1845,
          "items": [],
          "name": "[cspacer999]Admin´s Lounge",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 113,
          "items": [],
          "name": "[cspacer.]» ★ ★ Public Talk´s ★ ★ «",
          "order": 88,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 91,
          "items": [],
          "name": "[cspacer0]╚═══════════════════╝",
          "order": 89,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 157,
          "items": [],
          "name": "[*spacer1331*]___",
          "order": 90,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1848,
          "items": [],
          "name": "[*spacer102*]___",
          "order": 91,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 94,
          "items": [],
          "name": "[cspacer01]╚═══════════════════╝",
          "order": 93,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 140,
          "items": [],
          "name": "Assetto Corsa Competizione",
          "order": 94,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1267,
          "items": [],
          "name": "War Thunder",
          "order": 96,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 284,
          "items": [],
          "name": "GTA V",
          "order": 97,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 550,
          "items": [],
          "name": "[cspacer014]╚═══════════════════╝",
          "order": 113,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 90,
          "items": [],
          "name": "[cspacer40]",
          "order": 114,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 118,
          "items": [],
          "name": "Talk 4",
          "order": 117,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 119,
          "items": [],
          "name": "[*spacer18*]___",
          "order": 118,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 547,
          "items": [],
          "name": "[cspacer0] » ★ ★   VIP Lounge   ★ ★ «",
          "order": 119,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 909,
          "items": [
            {
              "clients": 0,
              "id": 3711,
              "items": [],
              "name": "LoL",
              "order": 0,
              "parent_id": 909,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 3710,
              "items": [],
              "name": "WoW",
              "order": 3711,
              "parent_id": 909,
              "topic": ""
            }
          ],
          "name": "Kluft Klopper",
          "order": 120,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 532,
          "items": [],
          "name": "[*spacer100]___",
          "order": 125,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 88,
          "items": [],
          "name": "[*spacer11*]___",
          "order": 130,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10617,
          "items": [],
          "name": "[cspacer]» ★ ★ Knight Online ★ ★ «",
          "order": 134,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 137,
          "items": [],
          "name": "[cspacer06]╚═════════════════════╝",
          "order": 136,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10593,
          "items": [],
          "name": "OX",
          "order": 137,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 96,
          "items": [],
          "name": "DayZ",
          "order": 139,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 289,
          "items": [],
          "name": "Battlefield 1",
          "order": 140,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 93,
          "items": [],
          "name": "[cspacer0]» ★ ★ Y2K*-Team ★ ★ «",
          "order": 157,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 769,
          "items": [],
          "name": "Battlefield 6",
          "order": 211,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1474,
          "items": [],
          "name": "The Witness",
          "order": 284,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 211,
          "items": [],
          "name": "Battlefield 2042",
          "order": 289,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 347,
          "items": [],
          "name": "тундра",
          "order": 327,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 139,
          "items": [],
          "name": "Call of Duty",
          "order": 336,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 390,
          "items": [],
          "name": "hi",
          "order": 347,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 837,
          "items": [],
          "name": "KOVAL GOD(dog)",
          "order": 390,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 327,
          "items": [],
          "name": "лул",
          "order": 418,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 506,
          "items": [],
          "name": "Talk 2",
          "order": 505,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 117,
          "items": [],
          "name": "Talk 3",
          "order": 506,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 418,
          "items": [],
          "name": "[cspacer0]» ★ ★  CIS Pomoyka  ★ ★ «",
          "order": 532,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 125,
          "items": [],
          "name": "[cspacer02]╚═══════════════════╝",
          "order": 547,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 505,
          "items": [],
          "name": "Talk 1",
          "order": 550,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 336,
          "items": [],
          "name": "Battalion 1944",
          "order": 769,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5018,
          "items": [],
          "name": "[cspacer0]» ★ ★  Pekelníci  ★ ★ «",
          "order": 789,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 789,
          "items": [],
          "name": "[*spacer22*]___",
          "order": 837,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 134,
          "items": [],
          "name": "[*spacer17*]___",
          "order": 909,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10685,
          "items": [],
          "name": "Drive Beyond Horizons",
          "order": 1267,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 114,
          "items": [],
          "name": "[cspacer09]╚═══════════════════╝",
          "order": 1326,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 89,
          "items": [],
          "name": "[cspacer999]» ★ ★ Welcome ★ ★ «",
          "order": 1327,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 130,
          "items": [],
          "name": "[A]way [F]rom [K]eyboard",
          "order": 1474,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 120,
          "items": [],
          "name": "[cspacer.]» ★ ★  KK  ★ ★ «",
          "order": 1839,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1839,
          "items": [],
          "name": "[*spacer101*]___",
          "order": 1840,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1327,
          "items": [],
          "name": "[*spacer132*]___",
          "order": 1845,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1326,
          "items": [],
          "name": "[cspacer08] Verification Channel",
          "order": 1848,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5021,
          "items": [],
          "name": "Pekelníci hrajú CS:GO",
          "order": 2776,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2776,
          "items": [],
          "name": "Pekelníci sa rozprávajú",
          "order": 5018,
          "parent_id": 0,
          "topic": "Čo ti poviem? Proste pekelníci"
        },
        {
          "clients": 0,
          "id": 136,
          "items": [],
          "name": "[cspacer.]» ★ ★ User Channels ★ ★ «",
          "order": 5020,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5170,
          "items": [],
          "name": "Pekelníci hrajú CS:GO - kompet",
          "order": 5021,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5169,
          "items": [],
          "name": "Pekelníci hrajú iné hry",
          "order": 5025,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6083,
          "items": [],
          "name": "Pekelníci čakajú na move",
          "order": 5026,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5026,
          "items": [],
          "name": "Pekelníci afkujú dlhšiu dobu",
          "order": 5169,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5171,
          "items": [],
          "name": "Pekelníci hrajú CS:GO - wingman/3v3",
          "order": 5170,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5172,
          "items": [],
          "name": "Pekelníci hrajú LoLko",
          "order": 5171,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5174,
          "items": [],
          "name": "Pekelníci hrajú Clash",
          "order": 5172,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5025,
          "items": [],
          "name": "Pekelníci hrajú FS22",
          "order": 5174,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10616,
          "items": [],
          "name": "[*spacer10*]___",
          "order": 6083,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10615,
          "items": [],
          "name": "Dota2",
          "order": 10593,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10626,
          "items": [],
          "name": "FARM",
          "order": 10601,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10674,
          "items": [],
          "name": "Zhizha",
          "order": 10615,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1840,
          "items": [
            {
              "clients": 0,
              "id": 10480,
              "items": [],
              "name": "DZ",
              "order": 0,
              "parent_id": 1840,
              "topic": ""
            }
          ],
          "name": "[cspacer]» ★ ★ DZ  ★ ★ «",
          "order": 10616,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10601,
          "items": [],
          "name": "PhantomLords",
          "order": 10617,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10630,
          "items": [],
          "name": "PK",
          "order": 10626,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10635,
          "items": [],
          "name": "AFK",
          "order": 10630,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5020,
          "items": [],
          "name": "[*spacer23*]___",
          "order": 10635,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10688,
          "items": [],
          "name": "46КТК",
          "order": 10674,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 97,
          "items": [],
          "name": "DCS World",
          "order": 10685,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10714,
          "items": [],
          "name": "1",
          "order": 10688,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10737,
          "items": [],
          "name": "говорилка",
          "order": 10714,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10784,
          "items": [],
          "name": "YOO",
          "order": 10737,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10788,
          "items": [],
          "name": "писюняры",
          "order": 10784,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10800,
          "items": [],
          "name": "X_x",
          "order": 10788,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10805,
          "items": [],
          "name": "Bongbot",
          "order": 10800,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10808,
          "items": [],
          "name": "duos",
          "order": 10805,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10809,
          "items": [],
          "name": "4poX klan",
          "order": 10808,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10811,
          "items": [],
          "name": "kubus",
          "order": 10809,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10813,
          "items": [],
          "name": "Parsley",
          "order": 10811,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10814,
          "items": [],
          "name": "Priv RN",
          "order": 10813,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10834,
          "items": [],
          "name": "Rust",
          "order": 10814,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10837,
          "items": [],
          "name": "PR1XON",
          "order": 10834,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10844,
          "items": [],
          "name": "4______6_______6",
          "order": 10837,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10852,
          "items": [],
          "name": "SparkCS",
          "order": 10844,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10854,
          "items": [],
          "name": "FaPepeWatafa",
          "order": 10852,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10880,
          "items": [],
          "name": "DayZZZZ",
          "order": 10854,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10881,
          "items": [],
          "name": "Arc clowns",
          "order": 10880,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10886,
          "items": [],
          "name": "dark triad",
          "order": 10881,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10891,
          "items": [],
          "name": "Бумажная шкура",
          "order": 10886,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10895,
          "items": [],
          "name": "бобка",
          "order": 10891,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10909,
          "items": [],
          "name": "ThreeCam - wanndi's room",
          "order": 10895,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 10939,
          "items": [],
          "name": "PROSTO",
          "order": 10909,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10945,
          "items": [],
          "name": "ПРЯМОИ И ЛЕВОЙ",
          "order": 10939,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10950,
          "items": [],
          "name": "Fortnite",
          "order": 10945,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10954,
          "items": [],
          "name": "Разговоры о важном",
          "order": 10950,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10955,
          "items": [],
          "name": "123",
          "order": 10954,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10960,
          "items": [],
          "name": "ПС СЮДА",
          "order": 10955,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10962,
          "items": [],
          "name": "cs2",
          "order": 10960,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "YY9VQS7lGkwJebKcmBpjnMeJBXY=",
    "platform": "Linux",
    "created": 1471509243,
    "uptime": 30170654,
    "steam_id": null,
    "domain": "y2kteam.eu",
    "id": 11142865,
    "ip": "89.58.31.61",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Nuremberg",
    "description": "Welcome to our Server. Everyone is Welcome! Respect each other and have a nice Time! \nDo you have a Question? Ask one of the Admins around!\n\nPlease vote for our Server Vote --> [ Vote Me](https://ts3index.com/server/147663#vote)\nAlso u can CheckOut your TeamSpeak-Stats here  -->  [Stats-Page](https://y2kstats.de/stats/)\n\nPlease use the Complaint Button If someone is doing something Wrong and no Admin is there to Monitor it.\nAll Y2K-Team Members are Admins!\nHappy Gaming ! :)",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1770933677,
    "score": 0,
    "last_online": 1776897618,
    "icon": null,
    "name": "#Y2K* Team  \\p Free Perm & Public Channels",
    "connect": "y2kteam.eu:9987",
    "request": "89.58.31.61:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 3,
    "maxplayers": 500,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1770933677,
    "last_update": 1776897618,
    "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": 121,
    "language": "de",
    "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/11142865");
$data = json_decode($json, true);
var_dump($data);