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

text
https://api.gamemonitoring.in/servers/11488926
json
{
  "response": {
    "channels": {
      "onlinecount": 56,
      "items": [
        {
          "clients": 0,
          "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": 1,
          "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": 2,
          "id": 4995,
          "items": [],
          "name": "ебашим",
          "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": 5,
                  "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": ""
                }
              ],
              "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": [],
              "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": [],
              "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": 2,
          "id": 5002,
          "items": [],
          "name": "ку",
          "order": 4995,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5004,
          "items": [],
          "name": "414124",
          "order": 5002,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5006,
          "items": [],
          "name": "залупа",
          "order": 5004,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5009,
          "items": [],
          "name": "drtyfvguhibjikl",
          "order": 5006,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 5012,
          "items": [],
          "name": "FIRE",
          "order": 5009,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5013,
          "items": [],
          "name": "ДЕНИС ЖУКОВ",
          "order": 5012,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5014,
          "items": [],
          "name": "механиКУСЬ",
          "order": 5013,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5015,
          "items": [],
          "name": "...",
          "order": 5014,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5019,
          "items": [],
          "name": "wf",
          "order": 5015,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5020,
          "items": [],
          "name": "chsm",
          "order": 5019,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5021,
          "items": [],
          "name": "ФФФФФФФФФФФ",
          "order": 5020,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5022,
          "items": [],
          "name": "1337",
          "order": 5021,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5024,
          "items": [],
          "name": "АРТУРИКСЮДА",
          "order": 5022,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5025,
          "items": [],
          "name": "Enclave babadji",
          "order": 5024,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5027,
          "items": [],
          "name": "ilcam",
          "order": 5025,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "aGlY5wTJiWATu7zldG3FnyNNGNI=",
    "platform": "Linux",
    "created": 1774205913,
    "uptime": 1054221,
    "steam_id": null,
    "domain": null,
    "id": 11488926,
    "ip": "79.141.215.141",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "St Petersburg",
    "description": "<u>Хочешь</u> **постоянный кнал** на сервере, тогда пиши **Антурий**\nХочешь постоянный канал, напиши Антурий",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775925661,
    "score": 0,
    "last_online": 1776349218,
    "icon": null,
    "name": "🎮 Online Games 🎮",
    "connect": "79.141.215.141:9987",
    "request": "79.141.215.141:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 41,
    "maxplayers": 512,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1775925661,
    "last_update": 1776349218,
    "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": 63,
    "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/11488926");
$data = json_decode($json, true);
var_dump($data);