प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/11489487
json
{
  "response": {
    "channels": {
      "onlinecount": 90,
      "items": [
        {
          "clients": 1,
          "id": 2,
          "items": [],
          "name": "[cspacer] Администрация Сервера",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1388,
          "items": [],
          "name": "[cspacer]Хочешь постоянный канал?",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 1,
          "items": [],
          "name": "[cspacer]Loading… █████[][][][][] 50%",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 17,
          "items": [],
          "name": "[cspacer]‧͙⁺˚*・༓☾ Vip каналы ☽༓・*˚⁺‧͙",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5698,
          "items": [],
          "name": "fwb",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "[cspacer]Временные каналы",
          "order": 17,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [
            {
              "clients": 0,
              "id": 4,
              "items": [],
              "name": "Aion",
              "order": 0,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5,
              "items": [],
              "name": "Arma3",
              "order": 4,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 6,
              "items": [
                {
                  "clients": 0,
                  "id": 2371,
                  "items": [],
                  "name": "i'm depressed",
                  "order": 0,
                  "parent_id": 6,
                  "topic": ""
                },
                {
                  "clients": 2,
                  "id": 2544,
                  "items": [],
                  "name": "63 RUS",
                  "order": 2188,
                  "parent_id": 6,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 2188,
                  "items": [],
                  "name": "Zavoz",
                  "order": 2371,
                  "parent_id": 6,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 2816,
                  "items": [],
                  "name": "PaDg1Ki",
                  "order": 2544,
                  "parent_id": 6,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 3522,
                  "items": [],
                  "name": "Meea",
                  "order": 2816,
                  "parent_id": 6,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 4443,
                  "items": [],
                  "name": "lay1ng team",
                  "order": 3522,
                  "parent_id": 6,
                  "topic": ""
                }
              ],
              "name": "Counter-Strike 2",
              "order": 5,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 7,
              "items": [
                {
                  "clients": 0,
                  "id": 2138,
                  "items": [],
                  "name": "[S.F.]",
                  "order": 0,
                  "parent_id": 7,
                  "topic": ""
                },
                {
                  "clients": 1,
                  "id": 5518,
                  "items": [],
                  "name": "wf",
                  "order": 2138,
                  "parent_id": 7,
                  "topic": ""
                }
              ],
              "name": "DayZ",
              "order": 6,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 8,
              "items": [],
              "name": "Dota2",
              "order": 7,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 9,
              "items": [
                {
                  "clients": 0,
                  "id": 5726,
                  "items": [],
                  "name": "мафия сочи",
                  "order": 0,
                  "parent_id": 9,
                  "topic": "lj,h"
                }
              ],
              "name": "Escape from Tarkov",
              "order": 8,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1016,
              "items": [
                {
                  "clients": 0,
                  "id": 1017,
                  "items": [],
                  "name": "Дальнобойщики",
                  "order": 0,
                  "parent_id": 1016,
                  "topic": ""
                }
              ],
              "name": "Euro Truck Simulator 2",
              "order": 9,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1984,
              "items": [
                {
                  "clients": 0,
                  "id": 1985,
                  "items": [],
                  "name": "Hunt",
                  "order": 0,
                  "parent_id": 1984,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 4301,
                  "items": [],
                  "name": "Durka/36",
                  "order": 1985,
                  "parent_id": 1984,
                  "topic": ""
                }
              ],
              "name": "Hunt: Showdown",
              "order": 10,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 12,
              "items": [
                {
                  "clients": 0,
                  "id": 162,
                  "items": [],
                  "name": "DCX",
                  "order": 0,
                  "parent_id": 12,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 1476,
                  "items": [],
                  "name": "Pubg 63",
                  "order": 162,
                  "parent_id": 12,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 4412,
                  "items": [],
                  "name": "Дагги",
                  "order": 1476,
                  "parent_id": 12,
                  "topic": ""
                }
              ],
              "name": "PUBG",
              "order": 11,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 13,
              "items": [
                {
                  "clients": 0,
                  "id": 5495,
                  "items": [],
                  "name": "Imdeaddd",
                  "order": 0,
                  "parent_id": 13,
                  "topic": ""
                }
              ],
              "name": "Rust",
              "order": 12,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 14,
              "items": [
                {
                  "clients": 0,
                  "id": 1686,
                  "items": [],
                  "name": "В танке",
                  "order": 0,
                  "parent_id": 14,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 2571,
                  "items": [],
                  "name": "Наша игра",
                  "order": 1686,
                  "parent_id": 14,
                  "topic": ""
                }
              ],
              "name": "Мир танков",
              "order": 13,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2051,
              "items": [
                {
                  "clients": 0,
                  "id": 2052,
                  "items": [],
                  "name": "Room 1",
                  "order": 0,
                  "parent_id": 2051,
                  "topic": ""
                }
              ],
              "name": "Grand Theft Auto V",
              "order": 1016,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2990,
              "items": [
                {
                  "clients": 0,
                  "id": 2992,
                  "items": [],
                  "name": "КОТ",
                  "order": 0,
                  "parent_id": 2990,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 4066,
                  "items": [],
                  "name": "Мета",
                  "order": 2992,
                  "parent_id": 2990,
                  "topic": ""
                }
              ],
              "name": "Lineage II",
              "order": 1984,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 10,
              "items": [],
              "name": "Gran Saga",
              "order": 2051,
              "parent_id": 3,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 11,
              "items": [
                {
                  "clients": 0,
                  "id": 4645,
                  "items": [],
                  "name": "zberbank",
                  "order": 0,
                  "parent_id": 11,
                  "topic": ""
                }
              ],
              "name": "Minecraft",
              "order": 2990,
              "parent_id": 3,
              "topic": ""
            }
          ],
          "name": "[cspacer] 🎮 Игровая Зона 🎮",
          "order": 1388,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5712,
          "items": [],
          "name": "12312321",
          "order": 5698,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5713,
          "items": [],
          "name": "3123121323123121323",
          "order": 5712,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5714,
          "items": [],
          "name": "Z1r0ta",
          "order": 5713,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5720,
          "items": [],
          "name": "Петушиный1",
          "order": 5714,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5722,
          "items": [],
          "name": "cosmicc",
          "order": 5720,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5725,
          "items": [],
          "name": "Гавнюки",
          "order": 5722,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5728,
          "items": [],
          "name": "xeror",
          "order": 5725,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5734,
          "items": [],
          "name": "erft",
          "order": 5728,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5738,
          "items": [],
          "name": "espada",
          "order": 5734,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5742,
          "items": [],
          "name": "wot",
          "order": 5738,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 5744,
          "items": [],
          "name": "Bилли",
          "order": 5742,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5751,
          "items": [],
          "name": "Топ 1 неизбежен",
          "order": 5744,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 5761,
          "items": [],
          "name": "NIK",
          "order": 5751,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5763,
          "items": [],
          "name": "456",
          "order": 5761,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5765,
          "items": [],
          "name": "dbd",
          "order": 5763,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5770,
          "items": [],
          "name": "123123",
          "order": 5765,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5777,
          "items": [],
          "name": "ваня",
          "order": 5770,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5780,
          "items": [],
          "name": "the forest",
          "order": 5777,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5781,
          "items": [],
          "name": "империя",
          "order": 5780,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5783,
          "items": [],
          "name": "вася",
          "order": 5781,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5784,
          "items": [],
          "name": "99999",
          "order": 5783,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5785,
          "items": [],
          "name": "deso",
          "order": 5784,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5790,
          "items": [],
          "name": "godz",
          "order": 5785,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5795,
          "items": [],
          "name": "543",
          "order": 5790,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5796,
          "items": [],
          "name": "qvx",
          "order": 5795,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5797,
          "items": [],
          "name": "alucify",
          "order": 5796,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 8,
          "id": 5800,
          "items": [],
          "name": "Танки",
          "order": 5797,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5802,
          "items": [],
          "name": "Татарко",
          "order": 5800,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5804,
          "items": [],
          "name": "pesdalisi",
          "order": 5802,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5805,
          "items": [],
          "name": "12345",
          "order": 5804,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5807,
          "items": [],
          "name": "asy",
          "order": 5805,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5809,
          "items": [],
          "name": "123",
          "order": 5807,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5812,
          "items": [],
          "name": "aaaaaaaa",
          "order": 5809,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5815,
          "items": [],
          "name": "515151",
          "order": 5812,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5816,
          "items": [],
          "name": "петя фасик",
          "order": 5815,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5817,
          "items": [],
          "name": "негатив4ик, я тут",
          "order": 5816,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 5818,
          "items": [],
          "name": "ываавы",
          "order": 5817,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5819,
          "items": [],
          "name": "deas1z",
          "order": 5818,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5821,
          "items": [],
          "name": "сююда",
          "order": 5819,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5822,
          "items": [],
          "name": "qqq",
          "order": 5821,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5823,
          "items": [],
          "name": "fac kap",
          "order": 5822,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5824,
          "items": [],
          "name": "111",
          "order": 5823,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5825,
          "items": [],
          "name": "ВВВВВВВВВВВВВВВВВВВВВВВВВВВВВВВВВВВ",
          "order": 5824,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5827,
          "items": [],
          "name": "liji",
          "order": 5825,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5828,
          "items": [],
          "name": "друн и ч",
          "order": 5827,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 5830,
          "items": [],
          "name": "Fire",
          "order": 5828,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "aGlY5wTJiWATu7zldG3FnyNNGNI=",
    "platform": "Linux",
    "created": 1774205913,
    "uptime": 476797,
    "steam_id": null,
    "domain": null,
    "id": 11489487,
    "ip": "185.72.147.44",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Moscow",
    "description": "<u>Хочешь</u> **постоянный кнал** на сервере, тогда пиши **Антурий**\nХочешь постоянный канал, напиши Антурий",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776514803,
    "score": 0,
    "last_online": 1776891615,
    "icon": null,
    "name": "🎮 Online Games 🎮",
    "connect": "185.72.147.44:9987",
    "request": "185.72.147.44:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 117,
    "maxplayers": 450,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 80,
    "add_date": 1776514803,
    "last_update": 1776891615,
    "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": 48,
    "language": "ru",
    "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.in/servers/11489487");
$data = json_decode($json, true);
var_dump($data);