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

text
https://api.gamemonitoring.ru/servers/11488184
json
{
  "response": {
    "channels": {
      "onlinecount": 50,
      "items": [
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "[*spacer0]★☆✯",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "Администрация",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4,
          "items": [],
          "name": "----?!Приёмная администрации¿¡-----",
          "order": 3,
          "parent_id": 0,
          "topic": "Общение администрации с игроками проекта"
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "[spacer17]",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "[*spacer1]✯☆★",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "[cspacerrlK](`*•.(`*•..•*´).•*´)",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "[spacer0]",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 9,
          "items": [],
          "name": "Подъезд",
          "order": 8,
          "parent_id": 0,
          "topic": "Проходи, не задерживайся"
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "[cspacer]★★★★VIP Каналы★★★★",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "[spacer]Здесь может быть ваш канал",
          "order": 10,
          "parent_id": 0,
          "topic": "Тема номер 1"
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "ViP Party #1",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "ViP Party #2",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[spacer1]",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "[spacer10]-.-",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16,
          "items": [],
          "name": "[cspacerHYd]▄ █ ● Приватные каналы ● █ ▄",
          "order": 15,
          "parent_id": 0,
          "topic": "Приватные каналы сервера ABp-Project"
        },
        {
          "clients": 0,
          "id": 17,
          "items": [],
          "name": "[spacer16]  ⮞↓Получить приватный канал↓⮜",
          "order": 16,
          "parent_id": 0,
          "topic": "Как получить приватный канал?"
        },
        {
          "clients": 0,
          "id": 18,
          "items": [],
          "name": "[spacer01]         https://t.me/abptsbot",
          "order": 17,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [],
          "name": "[spacer0z]",
          "order": 18,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 498,
          "items": [],
          "name": "кравашилд",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[spacer6]---",
          "order": 44,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 46,
          "items": [],
          "name": "[cspacer#]★★★Игровые каналы★★★",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 47,
          "items": [
            {
              "clients": 0,
              "id": 48,
              "items": [],
              "name": "✪ ✯ MatchMaking Room Elite ✯ ✪",
              "order": 0,
              "parent_id": 47,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 49,
              "items": [],
              "name": "MatchMaking Room #1",
              "order": 48,
              "parent_id": 47,
              "topic": ""
            }
          ],
          "name": "CS:GO MatchMaking Rooms",
          "order": 46,
          "parent_id": 0,
          "topic": "MM в CS:GO"
        },
        {
          "clients": 0,
          "id": 50,
          "items": [
            {
              "clients": 0,
              "id": 51,
              "items": [],
              "name": "DotA Party #1",
              "order": 0,
              "parent_id": 50,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 52,
              "items": [],
              "name": "DotA Party #2",
              "order": 51,
              "parent_id": 50,
              "topic": ""
            }
          ],
          "name": "DotA 2 Hub",
          "order": 47,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 53,
          "items": [],
          "name": "[spacer5]",
          "order": 50,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 54,
          "items": [
            {
              "clients": 0,
              "id": 55,
              "items": [],
              "name": "Rocket League®",
              "order": 0,
              "parent_id": 54,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 56,
              "items": [],
              "name": "Left 4 Dead 2",
              "order": 55,
              "parent_id": 54,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 57,
              "items": [],
              "name": "Saints Row",
              "order": 56,
              "parent_id": 54,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 58,
              "items": [],
              "name": "Minecraft",
              "order": 57,
              "parent_id": 54,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 59,
              "items": [],
              "name": "Overwatch",
              "order": 58,
              "parent_id": 54,
              "topic": ""
            }
          ],
          "name": "Другие игры",
          "order": 53,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 60,
          "items": [],
          "name": "[spacer3]-.-",
          "order": 54,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 61,
          "items": [],
          "name": "[cspacer#]★★Флуд-каналы(Болталки)★★",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 62,
          "items": [],
          "name": "Музыкальный канал",
          "order": 61,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 63,
          "items": [],
          "name": "Курилка",
          "order": 62,
          "parent_id": 0,
          "topic": "Свободные темы"
        },
        {
          "clients": 0,
          "id": 64,
          "items": [],
          "name": "[spacer15]",
          "order": 63,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 65,
          "items": [],
          "name": "[spacer16]•••AFK•••",
          "order": 64,
          "parent_id": 0,
          "topic": "Для тех, кто ушёл покурить, погулять, поспать и т.п."
        },
        {
          "clients": 0,
          "id": 66,
          "items": [],
          "name": "[spacer1]___",
          "order": 65,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 67,
          "items": [],
          "name": "[cspacer#]•Временные каналы•",
          "order": 66,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 570,
          "items": [],
          "name": "SALFETKA",
          "order": 67,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 44,
          "items": [],
          "name": "[spacer02]",
          "order": 69,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 69,
          "items": [],
          "name": "ABp-Team",
          "order": 144,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 144,
          "items": [],
          "name": "valorant huinya",
          "order": 326,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 326,
          "items": [],
          "name": "duoPabadgi",
          "order": 490,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 490,
          "items": [],
          "name": "Doll",
          "order": 498,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 571,
          "items": [],
          "name": "1111111111",
          "order": 570,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 575,
          "items": [],
          "name": "ден",
          "order": 571,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "tEj1mYYQ0/4+HTiySKwBPDl8iqc=",
    "platform": "Linux",
    "created": 1461450076,
    "uptime": 1002498,
    "steam_id": null,
    "domain": "ts.abppro.ru",
    "id": 11488184,
    "ip": "194.93.0.10",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Rzhev",
    "description": "👋 Добро пожаловать на сервер TeamSpeak ABp-Project!\nПриятного общения, хорошей игры и уважительного отношения друг к другу. 🎧\nДобро пожаловать на сервер проекта ABp-Project! Рады тебя видеть!",
    "game": 9000043,
    "owner": 2346,
    "boosts": 1,
    "last_offline": 1775333492,
    "score": 0,
    "last_online": 1776337810,
    "icon": null,
    "name": "[RU] ABp-Project \\p TeamSpeak [#1]",
    "connect": "ts.abppro.ru:9987",
    "request": "194.93.0.10:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 7,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 100,
    "add_date": 1775332369,
    "last_update": 1776337810,
    "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": 9,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": {
      "username": "synzilla",
      "avatar": "no.jpg",
      "last_online": 1775332800
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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