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

text
https://api.gamemonitoring.ru/servers/11143440
json
{
  "response": {
    "channels": {
      "onlinecount": 79,
      "items": [
        {
          "clients": -1,
          "id": 4,
          "items": [],
          "name": "[rspacer] Rules",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "[cspacer]Official TeamSpeak Server",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 6,
          "id": 8,
          "items": [],
          "name": "[spacer0][ TS3.SI ] - Lobby",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 2,
          "items": [],
          "name": "[*spacer4]-..",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 7,
          "items": [],
          "name": "[cspacer]Uptime 99.9%",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 3,
          "items": [],
          "name": "[cspacer]Visit us on web TS3.SI",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 14,
          "items": [],
          "name": "[cspacer]TeamSpeak 6 Clients Supported",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[spacer0][ TS3.SI ] - AFK",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 10,
          "items": [],
          "name": "[spacer0][ TS3.SI ] - Radio Room #1",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 11,
          "items": [],
          "name": "[spacer0][ TS3.SI ] - Radio Room #2",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 59,
          "items": [],
          "name": "[spacer0][ TS3.SI ] - Verify Channel",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 15,
          "items": [],
          "name": "[cspacer] ↓ PERMANENT ROOMS ↓",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 5,
          "items": [],
          "name": "[cspacer]Encrypted communications",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 25,
          "items": [],
          "name": "[cspacer]Permission Assigner",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 16,
          "items": [],
          "name": "[*spacer21]-..",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 17,
          "items": [],
          "name": "Administration Office",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 24,
          "items": [
            {
              "clients": 0,
              "id": 323,
              "items": [],
              "name": "keiz",
              "order": 0,
              "parent_id": 24,
              "topic": ""
            }
          ],
          "name": "void #privejt",
          "order": 17,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 6,
          "items": [],
          "name": "[cspacer0]└──────────────────┘",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 21,
          "items": [],
          "name": "[cspacer] ↓ TEMPORARY ROOMS ↓",
          "order": 20,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22,
          "items": [],
          "name": "[*spacer2220]-..",
          "order": 21,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1186,
          "items": [],
          "name": "metin2",
          "order": 22,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 41,
          "items": [],
          "name": "stara ekipica",
          "order": 23,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 23,
          "items": [],
          "name": "nutella priv8",
          "order": 24,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 26,
          "items": [],
          "name": "[cspacer]Hours Leveling",
          "order": 25,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [],
          "name": "[cspacer] Monthly Rank",
          "order": 26,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 439,
          "items": [],
          "name": "dime",
          "order": 41,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 77,
          "items": [],
          "name": "MGL",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 12,
          "items": [],
          "name": "[*spacer20]-..",
          "order": 59,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 87,
          "items": [],
          "name": "cepaa",
          "order": 77,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 272,
          "items": [],
          "name": "jahaci",
          "order": 81,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 103,
          "items": [],
          "name": "Helena [Inactive - Please change]",
          "order": 87,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 81,
          "items": [],
          "name": "yeppp",
          "order": 103,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 289,
          "items": [],
          "name": "bb",
          "order": 272,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 302,
          "items": [],
          "name": "lazkopat",
          "order": 289,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 307,
          "items": [],
          "name": "Nkyl",
          "order": 300,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 300,
          "items": [],
          "name": "POMPAP",
          "order": 302,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 613,
          "items": [],
          "name": "3k elo / major attenders",
          "order": 307,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 57,
          "items": [],
          "name": "Online Guardian",
          "order": 326,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 363,
          "items": [],
          "name": "BEZNOSKOV",
          "order": 328,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 409,
          "items": [],
          "name": "WXY",
          "order": 363,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 631,
          "items": [],
          "name": "6Bratan7",
          "order": 409,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 780,
          "items": [],
          "name": "mihe",
          "order": 418,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 783,
          "items": [],
          "name": "PN035",
          "order": 439,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 583,
          "items": [],
          "name": "sornyak",
          "order": 539,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1281,
          "items": [],
          "name": "svs",
          "order": 552,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 735,
          "items": [],
          "name": "OJSA",
          "order": 583,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 328,
          "items": [],
          "name": "xx",
          "order": 613,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 539,
          "items": [],
          "name": "antalya",
          "order": 631,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 829,
          "items": [],
          "name": "KERIM ALAJBEGOVI",
          "order": 735,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 873,
          "items": [],
          "name": "766",
          "order": 780,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 418,
          "items": [],
          "name": "Uzi brat",
          "order": 783,
          "parent_id": 0,
          "topic": "bilo staaaa"
        },
        {
          "clients": 0,
          "id": 854,
          "items": [],
          "name": "sve sami Ivani",
          "order": 829,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1080,
          "items": [],
          "name": "vulekevin",
          "order": 854,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 879,
          "items": [],
          "name": "pop",
          "order": 873,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 326,
          "items": [],
          "name": "KONANI",
          "order": 879,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1343,
          "items": [],
          "name": "Arma",
          "order": 1080,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 552,
          "items": [],
          "name": "opqas wenak simba",
          "order": 1186,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1341,
          "items": [],
          "name": "AneX",
          "order": 1281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1412,
          "items": [],
          "name": "oty",
          "order": 1341,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 20,
          "items": [],
          "name": "[*spacer220]-..",
          "order": 1343,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1484,
          "items": [],
          "name": "seco",
          "order": 1412,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1486,
          "items": [],
          "name": "winZ",
          "order": 1484,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1507,
          "items": [],
          "name": "ww",
          "order": 1486,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1542,
          "items": [],
          "name": "SİVASLI",
          "order": 1507,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1593,
          "items": [],
          "name": "lucius1",
          "order": 1542,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1605,
          "items": [],
          "name": "ДИМА СЮДА",
          "order": 1593,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1613,
          "items": [],
          "name": "emre",
          "order": 1605,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1623,
          "items": [],
          "name": "şafak",
          "order": 1613,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1739,
          "items": [],
          "name": "messi",
          "order": 1623,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1764,
          "items": [],
          "name": "Kerem",
          "order": 1739,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1795,
          "items": [],
          "name": "MOON",
          "order": 1764,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1851,
          "items": [],
          "name": "123",
          "order": 1795,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 1856,
          "items": [],
          "name": "d1ncer",
          "order": 1851,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 1857,
          "items": [],
          "name": "asdasdasdas",
          "order": 1856,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 1858,
          "items": [],
          "name": "НоуЛМакс",
          "order": 1857,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1861,
          "items": [],
          "name": "götten",
          "order": 1858,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 1862,
          "items": [],
          "name": "giskaaaa",
          "order": 1861,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1864,
          "items": [],
          "name": "31",
          "order": 1862,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "D82nlRJqyFhGQxt3bdHQcXYR+AE=",
    "platform": "Linux",
    "created": 1770929263,
    "uptime": 5585824,
    "steam_id": null,
    "domain": null,
    "id": 11143440,
    "ip": "217.156.22.138",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Berceni",
    "description": "TS3.SI - Official TeamSpeak Community Server \\p 2026\n**Welcome to the TS3.SI – Official TeamSpeak Community Server**. For assistance contact the support team.",
    "game": 9000043,
    "owner": 173171,
    "boosts": 1,
    "last_offline": 1771876655,
    "score": 0,
    "last_online": 1776517213,
    "icon": null,
    "name": "TS3.SI - Official TeamSpeak Community Server \\p 2026",
    "connect": "217.156.22.138:9987",
    "request": "217.156.22.138:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 27,
    "maxplayers": 256,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RO",
    "status": true,
    "votes": 0,
    "points": 95,
    "add_date": 1771876655,
    "last_update": 1776517213,
    "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": 18,
    "language": "sr",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": {
      "username": "voight",
      "avatar": "d5022a6d-59a4-4496-b43f-1d580d4a9e02.jpg",
      "last_online": 1772926088
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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