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

text
https://api.gamemonitoring.ru/servers/11489389
json
{
  "response": {
    "channels": {
      "onlinecount": 79,
      "items": [
        {
          "clients": 0,
          "id": 129,
          "items": [],
          "name": "🔴 NEU: ts.gaming-ts.com \\p NEW SERVER 🔴",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 168,
          "items": [],
          "name": "[spacer5]",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 130,
          "items": [],
          "name": "🔴 NEU: ts.gaming-ts.com - NEW SERVER 🔴",
          "order": 129,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 538,
          "items": [],
          "name": "[spacer10]",
          "order": 130,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1,
          "items": [
            {
              "clients": 0,
              "id": 2182,
              "items": [],
              "name": "fullshock2",
              "order": 0,
              "parent_id": 1,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2327,
              "items": [],
              "name": "fullshock",
              "order": 2182,
              "parent_id": 1,
              "topic": ""
            }
          ],
          "name": "🏠 Lobby / Willkommen",
          "order": 136,
          "parent_id": 0,
          "topic": "Default Channel has no topic"
        },
        {
          "clients": 0,
          "id": 139,
          "items": [],
          "name": "🔴🔴",
          "order": 138,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 140,
          "items": [],
          "name": "🔴🔴🔴",
          "order": 139,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 141,
          "items": [],
          "name": "🔴🔴🔴🔴",
          "order": 140,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 142,
          "items": [],
          "name": "🔴🔴🔴🔴🔴",
          "order": 141,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 143,
          "items": [],
          "name": "🔴🔴🔴🔴🔴🔴",
          "order": 142,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 144,
          "items": [],
          "name": "🔴🔴🔴🔴🔴🔴🔴",
          "order": 143,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 145,
          "items": [],
          "name": "🔵🔵🔵🔵🔵🔵🔵",
          "order": 144,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 146,
          "items": [],
          "name": "🔵🔵🔵🔵🔵🔵",
          "order": 145,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 147,
          "items": [],
          "name": "🔵🔵🔵🔵🔵",
          "order": 146,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 148,
          "items": [],
          "name": "🔵🔵🔵🔵",
          "order": 147,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 149,
          "items": [],
          "name": "🔵🔵🔵",
          "order": 148,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 150,
          "items": [],
          "name": "🔵🔵",
          "order": 149,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 151,
          "items": [],
          "name": "🔵",
          "order": 150,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 169,
          "items": [],
          "name": "[spacer6]",
          "order": 151,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 154,
          "items": [],
          "name": "⚪⚪",
          "order": 153,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 155,
          "items": [],
          "name": "⚪⚪⚪",
          "order": 154,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 156,
          "items": [],
          "name": "⚪⚪⚪⚪",
          "order": 155,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 157,
          "items": [],
          "name": "⚪⚪⚪⚪⚪",
          "order": 156,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 158,
          "items": [],
          "name": "⚪⚪⚪⚪⚪⚪",
          "order": 157,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 159,
          "items": [],
          "name": "⚪⚪⚪⚪⚪⚪⚪",
          "order": 158,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 160,
          "items": [],
          "name": "⚫⚫⚫⚫⚫⚫⚫",
          "order": 159,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 161,
          "items": [],
          "name": "⚫⚫⚫⚫⚫⚫",
          "order": 160,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 162,
          "items": [],
          "name": "⚫⚫⚫⚫⚫",
          "order": 161,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 163,
          "items": [],
          "name": "⚫⚫⚫⚫",
          "order": 162,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 164,
          "items": [],
          "name": "⚫⚫⚫",
          "order": 163,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 165,
          "items": [],
          "name": "⚫⚫",
          "order": 164,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 166,
          "items": [],
          "name": "⚫",
          "order": 165,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 170,
          "items": [],
          "name": "[spacer7]",
          "order": 166,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 642,
          "items": [],
          "name": "[spacer17]",
          "order": 168,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 153,
          "items": [],
          "name": "⚪",
          "order": 169,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 540,
          "items": [],
          "name": "[spacer12]",
          "order": 170,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 259,
          "items": [],
          "name": "⬛⬛ Gate 2-B",
          "order": 258,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 260,
          "items": [],
          "name": "⬛⬛ Gate 2-C",
          "order": 259,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 261,
          "items": [],
          "name": "⬛⬛ Gate 2-D",
          "order": 260,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 262,
          "items": [],
          "name": "⬛⬛ Gate 2-E",
          "order": 261,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 263,
          "items": [],
          "name": "⬛⬛ Gate 2-F",
          "order": 262,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 264,
          "items": [],
          "name": "⬛⬛ Gate 2-G",
          "order": 263,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 327,
          "items": [],
          "name": "⋘════ ⚜ ════⋙.",
          "order": 264,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 266,
          "items": [],
          "name": "⬛⬛⬛ Gate 3-B",
          "order": 265,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 267,
          "items": [],
          "name": "⬛⬛⬛ Gate 3-C",
          "order": 266,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 268,
          "items": [],
          "name": "⬛⬛⬛ Gate 3-D",
          "order": 267,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 269,
          "items": [],
          "name": "⬛⬛⬛ Gate 3-E",
          "order": 268,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 329,
          "items": [],
          "name": "⋘═════ ⚜ ═════⋙.",
          "order": 269,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 328,
          "items": [],
          "name": "⋘═════ ⚜ ═════⋙",
          "order": 324,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 138,
          "items": [],
          "name": "🔴",
          "order": 325,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 258,
          "items": [],
          "name": "⬛⬛ Gate 2-A",
          "order": 326,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 324,
          "items": [],
          "name": "[spacer8]",
          "order": 327,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 265,
          "items": [],
          "name": "⬛⬛⬛ Gate 3-A",
          "order": 328,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 325,
          "items": [],
          "name": "[spacer9]",
          "order": 329,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 539,
          "items": [],
          "name": "[spacer11]",
          "order": 538,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 136,
          "items": [],
          "name": "[spacer4]",
          "order": 539,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 541,
          "items": [],
          "name": "[spacer13]",
          "order": 540,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 542,
          "items": [],
          "name": "[cspacer]🔒 Private Channel",
          "order": 541,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2286,
          "items": [],
          "name": "Костя гей",
          "order": 542,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 643,
          "items": [],
          "name": "[spacer18]",
          "order": 642,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 326,
          "items": [],
          "name": "⋘════ ⚜ ════⋙",
          "order": 643,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2287,
          "items": [
            {
              "clients": 0,
              "id": 2321,
              "items": [],
              "name": "Arena",
              "order": 0,
              "parent_id": 2287,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2546,
              "items": [],
              "name": "КС",
              "order": 2321,
              "parent_id": 2287,
              "topic": ""
            }
          ],
          "name": "Кошмар",
          "order": 2286,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2288,
          "items": [],
          "name": "2123",
          "order": 2287,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2728,
          "items": [],
          "name": "Бродяги1111",
          "order": 2288,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2729,
          "items": [],
          "name": "Бродяги5",
          "order": 2728,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2730,
          "items": [],
          "name": "12341234",
          "order": 2729,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2731,
          "items": [],
          "name": "jebać wieś",
          "order": 2730,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2733,
          "items": [],
          "name": "sosal?",
          "order": 2731,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2742,
          "items": [],
          "name": "3 Танкиста и Леха",
          "order": 2733,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2743,
          "items": [],
          "name": "brokkkk",
          "order": 2742,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2744,
          "items": [],
          "name": "JD",
          "order": 2743,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2745,
          "items": [
            {
              "clients": 0,
              "id": 2746,
              "items": [],
              "name": "АФК",
              "order": 0,
              "parent_id": 2745,
              "topic": ""
            }
          ],
          "name": "ТАНКИ",
          "order": 2744,
          "parent_id": 0,
          "topic": "-=SDART=-"
        },
        {
          "clients": 0,
          "id": 2749,
          "items": [],
          "name": "асяасяасяасяася",
          "order": 2745,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2750,
          "items": [],
          "name": "выфвфы",
          "order": 2749,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "rxjk7BB5c2afmFF9XyIR3521bbM=",
    "platform": "Linux",
    "created": 1772353159,
    "uptime": 786685,
    "steam_id": null,
    "domain": "ts.gaming-ts.com",
    "id": 11489389,
    "ip": "212.227.191.180",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": ".\n.\n🇷🇺 Больше серверов TeamSpeak / 🇺🇦 Більше серверів TeamSpeak / 🇩🇪 Mehr TeamSpeak-Server / 🇬🇧 Find more TeamSpeak servers / 🇹🇷 Daha fazla TeamSpeak sunucusu / 🇵🇱 Więcej serwerów TeamSpeak / 🇪🇸 Más servidores de TeamSpeak:\n[https://gaming-ts.com/teamspeak-serverlist.php](https://gaming-ts.com/teamspeak-serverlist.php)\n.\n\nhttps://gaming-ts.com/teamspeak-serverlist.php",
    "game": 9000043,
    "owner": 188705,
    "boosts": 1,
    "last_offline": 1777321398,
    "score": 5,
    "last_online": 1778685612,
    "icon": null,
    "name": "🔴🔵 ts.gaming-ts.com 🔵🔴",
    "connect": "ts.gaming-ts.com:9987",
    "request": "212.227.191.180:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 1,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 1,
    "points": 92,
    "add_date": 1776398736,
    "last_update": 1778685612,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 21,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": {
      "username": "teamspeak6",
      "avatar": "no.jpg",
      "last_online": 1776447137
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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