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

text
https://api.gamemonitoring.ru/servers/11393328
json
{
  "response": {
    "channels": {
      "onlinecount": 55,
      "items": [
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "[cspacer]ʙɪᴇɴᴠᴇɴɪᴅᴏ",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 44,
          "items": [],
          "name": "[*spacer1]━",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "[cspacer]ᴅɪsғʀᴜᴛᴀ ᴛᴜ ᴇsᴛᴀᴅɪᴀ",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1027,
          "items": [],
          "name": "[cspacer]ᴇsᴛᴀs ᴇɴ ᴇʟ sᴇʀᴠᴇʀ¹ ᴅᴇ 3ꭹ33",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 85,
          "items": [
            {
              "clients": 0,
              "id": 1799,
              "items": [],
              "name": "ʀᴇɢʟᴀs",
              "order": 0,
              "parent_id": 85,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2834,
              "items": [],
              "name": "!ᴀɴᴛɪᴘᴏᴋᴇ \\p !ᴀɴᴛɪᴍᴇssᴀɢᴇ",
              "order": 1629,
              "parent_id": 85,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1931,
              "items": [],
              "name": "ʀᴇɢɪsᴛʀᴀᴅᴏ",
              "order": 1799,
              "parent_id": 85,
              "topic": ""
            },
            {
              "clients": 1,
              "id": 1629,
              "items": [],
              "name": "!ɪᴄᴏɴs \\p !ᴏɴᴛɪᴍᴇ",
              "order": 1931,
              "parent_id": 85,
              "topic": ""
            }
          ],
          "name": "ʀᴇɢʟᴀs \\p ᴄᴏᴍᴀɴᴅᴏs \\p ʀᴇɢɪsᴛʀᴀᴅᴏ",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1624,
          "items": [],
          "name": "[*spacer9]━",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 26,
          "items": [],
          "name": "[*spacer3]━",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[cspacer]🚨 ᴀᴅᴍɪɴɪsᴛʀᴀᴄɪᴏɴ 🚨",
          "order": 25,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "↓⚠️ ʟᴇᴇʀ ᴄᴀɴᴀʟᴇs ⚠️↓",
          "order": 26,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 33,
          "items": [],
          "name": "[*spacer7]━",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 27,
          "items": [],
          "name": "[cspacer]ᴅᴏɴᴀᴅᴏʀᴇs",
          "order": 32,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2674,
          "items": [
            {
              "clients": 5,
              "id": 2675,
              "items": [],
              "name": "Privado",
              "order": 0,
              "parent_id": 2674,
              "topic": ""
            }
          ],
          "name": "sanca",
          "order": 33,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 25,
          "items": [],
          "name": "[*spacer2]━",
          "order": 36,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1642,
          "items": [],
          "name": "[cspacer0]█████░██░░░░██░█████░░█████",
          "order": 38,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1087,
          "items": [],
          "name": "[cspacer]↓ɴᴜᴇsᴛʀᴏs sᴇʀᴠɪᴅᴏʀᴇs↓",
          "order": 39,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 996,
          "items": [
            {
              "clients": 0,
              "id": 3170,
              "items": [],
              "name": "ᴀᴅᴍɪɴɪsᴛʀᴀᴄɪᴏɴ ᴄs:ɢᴏ",
              "order": 0,
              "parent_id": 996,
              "topic": ""
            }
          ],
          "name": "ɴᴜᴇsᴛʀᴏs sᴇʀᴠɪᴅᴏʀᴇs",
          "order": 41,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 39,
          "items": [],
          "name": "[cspacer]😈3ꭹ33😈",
          "order": 44,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1,
          "items": [],
          "name": "[cspacer]ɢᴇɴᴇʀᴀʟ",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 41,
          "items": [
            {
              "clients": 1,
              "id": 2729,
              "items": [],
              "name": "sᴏᴘᴏʀᴛᴇ",
              "order": 0,
              "parent_id": 41,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2800,
              "items": [],
              "name": "ᴀᴄʟᴀʀᴀᴄɪᴏɴ ᴅᴏɴᴀᴄɪᴏɴᴇs",
              "order": 2729,
              "parent_id": 41,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2683,
              "items": [],
              "name": "ᴅᴏɴᴀᴄɪᴏɴᴇs - ɪɴᴀᴄᴛɪᴠᴀs",
              "order": 2800,
              "parent_id": 41,
              "topic": ""
            }
          ],
          "name": "sᴏᴘᴏʀᴛᴇ \\p ᴅᴏɴᴀᴄɪᴏɴᴇs",
          "order": 85,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1483,
          "items": [],
          "name": "9ꮯꭼᎢꭱꭹ « sᴛʀᴇᴀᴍ ᴏғғ »",
          "order": 996,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 38,
          "items": [],
          "name": "[cspacer]━━━━",
          "order": 1027,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1533,
          "items": [],
          "name": "[cspacer0] 👾community.3y33.com.ar👾",
          "order": 1087,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2501,
          "items": [],
          "name": "[*spacer4]━",
          "order": 1483,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 36,
          "items": [],
          "name": "[cspacer4]━━━━━ ◥◣♦◢◤ ━━━━━",
          "order": 1533,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 32,
          "items": [],
          "name": "[*spacer6]━",
          "order": 1557,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "[cspacer]ᴛᴇᴍᴘᴏʀᴀʟᴇs",
          "order": 1623,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 4380,
          "items": [],
          "name": "aaa1",
          "order": 1624,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2743,
          "items": [],
          "name": "[cspacer] •• Cloker \\p  ʙʏ 3ꭹ33 ••",
          "order": 1626,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1643,
          "items": [],
          "name": "[cspacer0]░░░██░░██░░██░░░░░██░░░░░██",
          "order": 1642,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1644,
          "items": [],
          "name": "[cspacer0]░████░░░████░░░█████░░█████",
          "order": 1643,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1645,
          "items": [],
          "name": "[cspacer0]░░░██░░░░██░░░░░░░██░░░░░██",
          "order": 1644,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1646,
          "items": [],
          "name": "[cspacer0]█████░░░░██░░░░█████░░█████",
          "order": 1645,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[*spacer0]━",
          "order": 1646,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2502,
          "items": [],
          "name": "[cspacer] •• 2K \\p  ʙʏ 3ꭹ33 ••",
          "order": 2500,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2715,
          "items": [],
          "name": "[cspacer]ᴛᴏᴘ ᴅᴏɴᴀᴅᴏʀᴇs",
          "order": 2501,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1626,
          "items": [
            {
              "clients": 1,
              "id": 47,
              "items": [],
              "name": "ᴘʀɪᴠᴀᴅᴏ",
              "order": 0,
              "parent_id": 1626,
              "topic": ""
            }
          ],
          "name": "2K",
          "order": 2502,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2677,
          "items": [
            {
              "clients": 0,
              "id": 2678,
              "items": [],
              "name": "Privado",
              "order": 0,
              "parent_id": 2677,
              "topic": ""
            }
          ],
          "name": "Xereis",
          "order": 2674,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1623,
          "items": [],
          "name": "[*spacer8]━",
          "order": 2677,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2500,
          "items": [],
          "name": "[*spacer5]━",
          "order": 2715,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2744,
          "items": [
            {
              "clients": 0,
              "id": 2745,
              "items": [],
              "name": "ᴘʀɪᴠᴀᴅᴏ",
              "order": 0,
              "parent_id": 2744,
              "topic": ""
            }
          ],
          "name": "Cloker",
          "order": 2743,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1557,
          "items": [],
          "name": "[cspacer22]━━━━━━━━━━ AUSENTE ━━━━━━━━━━",
          "order": 2744,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 4383,
          "items": [],
          "name": "tt",
          "order": 4380,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 4384,
          "items": [],
          "name": "RAMA PUT0",
          "order": 4383,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "j6Jv6gmP2RQ1m5f2lZEFN7L5VQg=",
    "platform": "Linux",
    "created": 1753350320,
    "uptime": 2695898,
    "steam_id": null,
    "domain": "ts3.3y33.com.ar",
    "id": 11393328,
    "ip": "64.176.19.129",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Santiago",
    "description": "Bienvenido al Server de 3y33, disfruta tu estadia.",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774596804,
    "score": 0,
    "last_online": 1776886220,
    "icon": null,
    "name": "3y33 • ARGENTINA SERVER • 128 SLOTS",
    "connect": "ts3.3y33.com.ar:9987",
    "request": "64.176.19.129:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 14,
    "maxplayers": 128,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "CL",
    "status": true,
    "votes": 0,
    "points": 65,
    "add_date": 1774596804,
    "last_update": 1776886220,
    "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": 99,
    "language": "es",
    "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/11393328");
$data = json_decode($json, true);
var_dump($data);