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

text
https://api.gamemonitoring.ru/servers/10733918
json
{
  "response": {
    "channels": {
      "onlinecount": 74,
      "items": [
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "[spacer032]",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "[cspacer77]••••••• Welcome To •••••••",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4,
          "items": [],
          "name": "[cspacer34]★EternalNetwork TM★",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "[cspacer37]⋆------------⋆------------⋆",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [
            {
              "clients": 0,
              "id": 7,
              "items": [
                {
                  "clients": 0,
                  "id": 96,
                  "items": [],
                  "name": "Q's room",
                  "order": 0,
                  "parent_id": 7,
                  "topic": ""
                }
              ],
              "name": ".:★ TheDjRider Room ★:.",
              "order": 0,
              "parent_id": 6,
              "topic": ""
            }
          ],
          "name": "[cspacer79]--• ✤ Administration ✤ •--",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [
            {
              "clients": 0,
              "id": 89,
              "items": [],
              "name": "EternalGaming TM",
              "order": 0,
              "parent_id": 8,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 82,
              "items": [],
              "name": "Eterna Town RP",
              "order": 70,
              "parent_id": 8,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 70,
              "items": [],
              "name": "Eternal Logistic",
              "order": 81,
              "parent_id": 8,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 81,
              "items": [],
              "name": "EternalCraft SMP",
              "order": 89,
              "parent_id": 8,
              "topic": ""
            }
          ],
          "name": "EternalGaming TM Staff Only",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 90,
          "items": [],
          "name": "EternalNetwork TM",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "╔═ Service -1- \\p Support",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "╚═ Service -2- \\p Support",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[spacer04643]",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "[cspacer0]▁ ▂ ▃ ★ ▃ ▂ ▁",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16,
          "items": [],
          "name": "[cspacer0345]..:::::★★★★LOBBY★★★★:::::..",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 17,
          "items": [],
          "name": "[spacer0lobby]",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 67,
          "items": [],
          "name": "[cspacer32210]☾File Transfer☽",
          "order": 17,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [],
          "name": "[*spacer5]...",
          "order": 18,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 20,
          "items": [],
          "name": "[cspacer14]۩۞۩ ✱ Public Rooms ✱ ۩۞۩",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 21,
          "items": [],
          "name": "[*spacer4]...",
          "order": 20,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22,
          "items": [],
          "name": "Public Talk Lobby 1",
          "order": 21,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 23,
          "items": [],
          "name": "Public Talk Lobby 2",
          "order": 22,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 24,
          "items": [],
          "name": "PRIORITY SPEAKER",
          "order": 23,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 25,
          "items": [],
          "name": "PRIORITY SPEAKER 2",
          "order": 24,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 26,
          "items": [],
          "name": "● AFK ●",
          "order": 25,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 27,
          "items": [],
          "name": "[*cspacer1233]",
          "order": 26,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28,
          "items": [],
          "name": "[*spacer41]...",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 60,
          "items": [],
          "name": "[spacer5460]",
          "order": 28,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 30,
          "items": [],
          "name": "[cspacergd]♛ Games Rooms ♛",
          "order": 29,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 31,
          "items": [],
          "name": "[*spacerr] ╬ ╬ ╬",
          "order": 30,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 71,
          "items": [],
          "name": "[*spacer7430]⇢⇠",
          "order": 31,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 97,
          "items": [],
          "name": "Valheim",
          "order": 35,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 83,
          "items": [],
          "name": "Overwatch",
          "order": 36,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 91,
          "items": [],
          "name": "ARK: Survival Evolved",
          "order": 37,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 42,
          "items": [],
          "name": "League of Legends",
          "order": 41,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 75,
          "items": [],
          "name": "Heroes of the Storm",
          "order": 42,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 86,
          "items": [],
          "name": "Clash of Clans",
          "order": 43,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[*cspacer1235]..••⋆••..",
          "order": 44,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 46,
          "items": [],
          "name": "[cspacerr]╔═══════════════════╗",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 47,
          "items": [],
          "name": "[cspacerf]☆ ☆ Private / Clan Channel ☆ ☆",
          "order": 46,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 48,
          "items": [],
          "name": "[cspacer0d]» Permanent «",
          "order": 47,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 49,
          "items": [],
          "name": "[cspacers0]» ★ ★ User Channels ★ ★ «",
          "order": 48,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 50,
          "items": [],
          "name": "[cspacerfe0]╚═══════════════════╝",
          "order": 49,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 51,
          "items": [],
          "name": "[cspacerd0]Want your roome here ?",
          "order": 50,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 52,
          "items": [],
          "name": "[cspacervs0]Write to TheDjRider ?",
          "order": 51,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 53,
          "items": [],
          "name": "[spacer2423]",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 54,
          "items": [],
          "name": "[*spacercd0]...",
          "order": 53,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 55,
          "items": [],
          "name": "[*spacerfe0]؁؁",
          "order": 54,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 56,
          "items": [],
          "name": "[cspacer0s]▼ Temporary Channels ▼",
          "order": 55,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 64,
          "items": [],
          "name": "[cspacer4530]◢ Streamers  ◣",
          "order": 58,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 29,
          "items": [],
          "name": "[*spacere] ╬ ╬ ╬",
          "order": 59,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 58,
          "items": [],
          "name": "[*spacer430]✣",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 62,
          "items": [],
          "name": "TheDjRider Stream Room",
          "order": 61,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 59,
          "items": [],
          "name": "[spacerде0]",
          "order": 62,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61,
          "items": [
            {
              "clients": 0,
              "id": 76,
              "items": [],
              "name": "Recording Room",
              "order": 0,
              "parent_id": 61,
              "topic": ""
            }
          ],
          "name": "Eternal Streamers",
          "order": 63,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 65,
          "items": [],
          "name": "[*spacer4330]✣",
          "order": 64,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 63,
          "items": [],
          "name": "[spacer0546]",
          "order": 65,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18,
          "items": [],
          "name": "[spacer3rr3r0]",
          "order": 67,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 36,
          "items": [
            {
              "clients": 0,
              "id": 93,
              "items": [],
              "name": "Deathmatch",
              "order": 0,
              "parent_id": 36,
              "topic": ""
            },
            {
              "clients": 3,
              "id": 94,
              "items": [],
              "name": "Premier",
              "order": 92,
              "parent_id": 36,
              "topic": ""
            },
            {
              "clients": 3,
              "id": 92,
              "items": [],
              "name": "Competitive",
              "order": 93,
              "parent_id": 36,
              "topic": ""
            }
          ],
          "name": "Counter-Strike 2",
          "order": 71,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 43,
          "items": [],
          "name": "[*spacerx]⇢⇠",
          "order": 75,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 37,
          "items": [],
          "name": "[*spacer7540]⇢⇠",
          "order": 83,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 44,
          "items": [],
          "name": "[spacer0rt]",
          "order": 85,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 87,
          "items": [],
          "name": "Clash Royale",
          "order": 86,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 85,
          "items": [],
          "name": "[*spacer75210]⇢⇠",
          "order": 87,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "[spacer043]",
          "order": 90,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 35,
          "items": [],
          "name": "Minecraft",
          "order": 91,
          "parent_id": 0,
          "topic": "Само Minecraft"
        },
        {
          "clients": 0,
          "id": 41,
          "items": [],
          "name": "[*spacerwd0]⇢⇠",
          "order": 97,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "tCD3w8BLp0nvqSx8SXtdea6G/mw=",
    "platform": "Linux",
    "created": 1493632487,
    "uptime": 833105,
    "steam_id": null,
    "domain": "ts3.etrn.al",
    "id": 10733918,
    "ip": "168.119.248.13",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Falkenstein",
    "description": "╚══ EternalNetwork ТМ © TeamSpeak3 Server ══╝\nWelcome to EternalNetwork TM TS3 Server :)",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1765927474,
    "score": 0,
    "last_online": 1776895815,
    "icon": null,
    "name": "╚══ EternalNetwork ТМ © TeamSpeak3 Server ══╝",
    "connect": "ts3.etrn.al:9987",
    "request": "168.119.248.13:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 7,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 69,
    "add_date": 1765927474,
    "last_update": 1776895815,
    "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": 65,
    "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/10733918");
$data = json_decode($json, true);
var_dump($data);