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

text
https://api.gamemonitoring.ru/servers/11252347
json
{
  "response": {
    "channels": {
      "onlinecount": 79,
      "items": [
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "[*rspacer]―",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 20,
          "items": [],
          "name": "\\p 🎮Общалка🎮",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 154,
          "items": [],
          "name": "[cspacer]••― Наши Cерверы ―••",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "[cspacer]― Администрация ―",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "•― Руководство TS3",
          "order": 7,
          "parent_id": 0,
          "topic": "t14WpGjQ"
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "•― Администраторская TSƷ",
          "order": 8,
          "parent_id": 0,
          "topic": "NTh2hpoIRZGFnZP4mj3zOP+CPnpBR09psl7W+rmm"
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "•― Модераторская TSƷ",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "•― Тех.поддержка TSƷ",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "•― Дизайнер <3",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "[*rspacer1]―",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[cspacer]― Технический Раздел ―",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "\\p Тех.Поддержка TSƷ",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16,
          "items": [],
          "name": "\\p Тех.Поддержка CS 1.6",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18,
          "items": [],
          "name": "[*rspacer2]―",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61325,
          "items": [],
          "name": "INFO: ★ IP: TS.SERVER-TOP.RU ★",
          "order": 18,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 1,
          "items": [],
          "name": "\\p 👑Гостевая комната👑",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 21,
          "items": [],
          "name": "\\p ✅СОЗДАНИЕ КОМНАТЫ✅",
          "order": 20,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22,
          "items": [],
          "name": "[*rspacer3]―",
          "order": 21,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 23,
          "items": [],
          "name": "[cspacer]― Музыкальный Раздел ―",
          "order": 22,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 24,
          "items": [],
          "name": "•― Radio Record",
          "order": 23,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 25,
          "items": [],
          "name": "•― Record Mix",
          "order": 24,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 210899,
          "items": [],
          "name": "•― Record Маятник Фуко",
          "order": 25,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 29,
          "items": [],
          "name": "[cspacer]― Избранный Раздел ―",
          "order": 28,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 168428,
          "items": [],
          "name": "Святые Пропойцы",
          "order": 29,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 35,
          "items": [],
          "name": "\\p BigBro",
          "order": 34,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 36,
          "items": [],
          "name": "\\p Кланы #6",
          "order": 35,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 39,
          "items": [],
          "name": "[*rspacer5]―",
          "order": 36,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 52,
          "items": [],
          "name": "[cspacer]― Counter-Strike 1.6 ―",
          "order": 39,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 53,
          "items": [],
          "name": "•― Администраторская CS",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 54,
          "items": [],
          "name": "•― Модераторская CS",
          "order": 53,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 55,
          "items": [],
          "name": "•― Тех.поддержка CS",
          "order": 54,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 125,
          "items": [],
          "name": "•― Общалка - CS 1.6",
          "order": 55,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 57,
          "items": [],
          "name": "[cspacer]― Кланы ―",
          "order": 56,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 60,
          "items": [],
          "name": "\\p Кланы 1",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61,
          "items": [],
          "name": "\\p Кланы 2",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 62,
          "items": [],
          "name": "\\p Кланы 3",
          "order": 61,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 63,
          "items": [],
          "name": "[*rspacer9]―",
          "order": 62,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 64,
          "items": [],
          "name": "[cspacer]― Пользовательский Раздел ―",
          "order": 63,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 247867,
          "items": [],
          "name": "Valorant",
          "order": 64,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 69,
          "items": [],
          "name": "[cspacer]― Временные Каналы ―",
          "order": 68,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 255795,
          "items": [],
          "name": "111",
          "order": 69,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 114,
          "items": [],
          "name": "[lspacer]•― Правила Counter-Strike",
          "order": 72,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 72,
          "items": [],
          "name": "[lspacer]•― Правила TSƷ",
          "order": 113,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "[*rspacer0]―",
          "order": 114,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 56,
          "items": [],
          "name": "[*rspacer8]―",
          "order": 125,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 113,
          "items": [],
          "name": "[*rspacer11]―",
          "order": 154,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61327,
          "items": [],
          "name": "INFO: ★ VK / SRV_TOPS ★",
          "order": 61325,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [],
          "name": "[cspacer]― Гостевая ―",
          "order": 61326,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61328,
          "items": [],
          "name": "INFO: ★ TELEGRAM ★",
          "order": 61327,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61326,
          "items": [],
          "name": "[*rspacer52]―",
          "order": 61328,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 68,
          "items": [],
          "name": "[*rspacer10]―",
          "order": 139072,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 139072,
          "items": [],
          "name": "ч и друн",
          "order": 140723,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 34,
          "items": [],
          "name": "\\p танки",
          "order": 168428,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 140723,
          "items": [],
          "name": "FHS",
          "order": 194575,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28,
          "items": [],
          "name": "[*rspacer4]―",
          "order": 210899,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 194575,
          "items": [],
          "name": "😀 MskSmile 😀",
          "order": 242253,
          "parent_id": 0,
          "topic": "PUBG"
        },
        {
          "clients": 0,
          "id": 242253,
          "items": [],
          "name": "Смысла нет!",
          "order": 242435,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 242435,
          "items": [],
          "name": "LL Team",
          "order": 242552,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 242552,
          "items": [],
          "name": "PoZiiTiiV",
          "order": 242553,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 242553,
          "items": [],
          "name": "lolo",
          "order": 242698,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 242698,
          "items": [],
          "name": "фэмили про",
          "order": 242720,
          "parent_id": 0,
          "topic": "игры,общение"
        },
        {
          "clients": 0,
          "id": 242720,
          "items": [],
          "name": "Kyrsk46",
          "order": 242929,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 242929,
          "items": [],
          "name": "EFT51",
          "order": 244235,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 244235,
          "items": [],
          "name": "shpilka",
          "order": 244506,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 244506,
          "items": [],
          "name": "Rich",
          "order": 247867,
          "parent_id": 0,
          "topic": "Собрание клана Rich"
        },
        {
          "clients": 1,
          "id": 256161,
          "items": [],
          "name": "Пацаны вообще ребята",
          "order": 255795,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 256185,
          "items": [],
          "name": "7777777777777777777777777777777777777777",
          "order": 256161,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256234,
          "items": [],
          "name": "фантам",
          "order": 256185,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 256246,
          "items": [],
          "name": "Я",
          "order": 256234,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 256431,
          "items": [],
          "name": "мир танков",
          "order": 256246,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256468,
          "items": [],
          "name": "faafafsdsa",
          "order": 256431,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256470,
          "items": [],
          "name": "AAS",
          "order": 256468,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256471,
          "items": [],
          "name": "хуй",
          "order": 256470,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256473,
          "items": [],
          "name": "сюда",
          "order": 256471,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256474,
          "items": [],
          "name": "Ненавижу жизнь",
          "order": 256473,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256475,
          "items": [],
          "name": "Кактус",
          "order": 256474,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256476,
          "items": [],
          "name": "Rast",
          "order": 256475,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 256477,
          "items": [],
          "name": "ТРЕНЕР ИЛЬИ",
          "order": 256476,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 256478,
          "items": [],
          "name": "Тарков",
          "order": 256477,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "Ft+GVQ4/B9VcmMzsl5CoyrmU3cw=",
    "platform": "Linux",
    "created": 1659156739,
    "uptime": 1943371,
    "steam_id": null,
    "domain": "ts.server-top.ru",
    "id": 11252347,
    "ip": "85.239.155.220",
    "port": 9987,
    "query": 10119,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "______________________________________________________\nНаш Канал  в Telegram Вступай к нам [Перейти](https://t.me/ts3_community)\n\\p Counter-Strike Old Public: no\n\\p Counter-Strike AWP: NO\n\\p Counter-Strike Mansion: NO\nПодключаемся по домену  ts.server-top.ru [Добавить жмяк](ts3server://ts.server-top.ru.ru?cid=2&addbookmark=Мой%20сервер)\nСоздание   Канала БЕСПЛАТНО! [Перейти](https://t.me/ts3_community)",
    "game": 9000043,
    "owner": 140448,
    "boosts": 1,
    "last_offline": 1773675916,
    "score": 5,
    "last_online": 1776577809,
    "icon": null,
    "name": "😈• TeamSpeak \\p Community 24/7 • 😈",
    "connect": "ts.server-top.ru:9987",
    "request": "85.239.155.220:10119",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 37,
    "maxplayers": 512,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 28,
    "points": 141,
    "add_date": 1773675916,
    "last_update": 1776577809,
    "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": 3,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": {
      "username": "DeD_Ky4er",
      "avatar": "8663dbac-38f3-46b1-ac6b-0b0c2ea7901d.jpg",
      "last_online": 1776336505
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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