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

text
https://api.gamemonitoring.ru/servers/11492433
json
{
  "response": {
    "channels": {
      "onlinecount": 107,
      "items": [
        {
          "clients": -1,
          "id": 22,
          "items": [],
          "name": "[*spacerx1]––",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 277,
          "items": [],
          "name": "[cspacer221]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 22,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 749,
          "items": [],
          "name": "[cspacer2043]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛",
          "order": 26,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 748,
          "items": [],
          "name": "[cspacer1002]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 39,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 278,
          "items": [],
          "name": "[cspacer243]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛",
          "order": 40,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 39,
          "items": [],
          "name": "[*spacer20]-.-",
          "order": 41,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 270,
          "items": [],
          "name": "[cspacer2]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 47,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 810,
          "items": [],
          "name": "[spacer301212]-.-",
          "order": 48,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 47,
          "items": [],
          "name": "[spacer30]-.-",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 52,
          "items": [],
          "name": "Main Room [  DON'T STAY AFK ]",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 302,
          "items": [
            {
              "clients": 0,
              "id": 303,
              "items": [],
              "name": "Room [ 01 ] -- MAX 2",
              "order": 0,
              "parent_id": 302,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 304,
              "items": [],
              "name": "Room [ 02 ] -- MAX 2",
              "order": 303,
              "parent_id": 302,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 305,
              "items": [],
              "name": "Room [ 03 ] -- MAX 3",
              "order": 304,
              "parent_id": 302,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 306,
              "items": [],
              "name": "Room [ 04 ] -- MAX 3",
              "order": 305,
              "parent_id": 302,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 307,
              "items": [],
              "name": "Room [ 05 ] -- MAX 4",
              "order": 306,
              "parent_id": 302,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 308,
              "items": [],
              "name": "Room [ 06 ] -- MAX 4",
              "order": 307,
              "parent_id": 302,
              "topic": ""
            }
          ],
          "name": "Limited Rooms",
          "order": 61,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 70,
          "items": [],
          "name": "[*spacer50]-.-",
          "order": 69,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 280,
          "items": [],
          "name": "[cspacer21]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 70,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 281,
          "items": [],
          "name": "[cspacer12]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛",
          "order": 71,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1597,
          "items": [],
          "name": "[*spacer1301404]-.-",
          "order": 237,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 271,
          "items": [],
          "name": "[cspacer2] ✩。 PUBLIC ROOMS 。✩",
          "order": 270,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 272,
          "items": [],
          "name": "[cspacer2]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛",
          "order": 271,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 744,
          "items": [],
          "name": "[spacer030]-.-",
          "order": 272,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 275,
          "items": [],
          "name": "[cspacer2]✩。 DNS: TS.SHARKS.RO 。✩",
          "order": 273,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 60,
          "items": [],
          "name": "[*spacer45]-.-",
          "order": 274,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 535,
          "items": [],
          "name": "[cspacer232]✩。 Servers For Sell 。✩",
          "order": 275,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 40,
          "items": [],
          "name": "[cspacer3]✩。 Administrative Area 。✩",
          "order": 277,
          "parent_id": 0,
          "topic": "» Administrație Westcstrike.ro"
        },
        {
          "clients": 1,
          "id": 41,
          "items": [],
          "name": "STAFF TS3 SHARKS",
          "order": 278,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 71,
          "items": [],
          "name": "[cspacer]╾🎮 『 Gaming Rooms 』🎮╾",
          "order": 280,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 323,
          "items": [],
          "name": "[spacer866666]-.-",
          "order": 281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 69,
          "items": [],
          "name": "Sleeping Room [ AFK ]",
          "order": 302,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1587,
          "items": [],
          "name": "[*spacer13004]-.-",
          "order": 311,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 550,
          "items": [
            {
              "clients": 0,
              "id": 563,
              "items": [],
              "name": "Room 1",
              "order": 0,
              "parent_id": 550,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 576,
              "items": [],
              "name": "Room 2",
              "order": 563,
              "parent_id": 550,
              "topic": ""
            }
          ],
          "name": "╠-● Counter-Strike 2",
          "order": 323,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 643,
          "items": [],
          "name": "[cspacer22110]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 427,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 644,
          "items": [],
          "name": "[cspacer2423]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛",
          "order": 428,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 274,
          "items": [],
          "name": "[cspacer22123]┗╋━━━━━━◥◣◆◢◤━━━━━━╋┛",
          "order": 535,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 552,
          "items": [
            {
              "clients": 0,
              "id": 565,
              "items": [],
              "name": "Room 1",
              "order": 0,
              "parent_id": 552,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 578,
              "items": [],
              "name": "Room 2",
              "order": 565,
              "parent_id": 552,
              "topic": ""
            }
          ],
          "name": "╠-● Valorant",
          "order": 550,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 869,
          "items": [
            {
              "clients": 0,
              "id": 1569,
              "items": [],
              "name": "Room 1",
              "order": 0,
              "parent_id": 869,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1570,
              "items": [],
              "name": "Room 2",
              "order": 1569,
              "parent_id": 869,
              "topic": ""
            }
          ],
          "name": "╠-● WOT",
          "order": 552,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 428,
          "items": [],
          "name": "[cspacer3]✩。 Support  。✩",
          "order": 643,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1568,
          "items": [],
          "name": "[spacer3001412]-.-",
          "order": 644,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 61,
          "items": [
            {
              "clients": 3,
              "id": 62,
              "items": [],
              "name": "»  Public Channel [ 01 ]",
              "order": 0,
              "parent_id": 61,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 63,
              "items": [],
              "name": "»  Public Channel [ 02 ]",
              "order": 62,
              "parent_id": 61,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 64,
              "items": [],
              "name": "»  Public Channel [ 03 ]",
              "order": 63,
              "parent_id": 61,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 65,
              "items": [],
              "name": "»  Public Channel [ 04 ]",
              "order": 64,
              "parent_id": 61,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 279,
              "items": [],
              "name": "»  Public Channel [ 05 ]",
              "order": 65,
              "parent_id": 61,
              "topic": ""
            }
          ],
          "name": "» Public Rooms",
          "order": 744,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 746,
          "items": [],
          "name": "[cspacer]✩。 TEMPORARY CHANNELS 。✩",
          "order": 745,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 747,
          "items": [],
          "name": "[*spacer3000]-.-",
          "order": 746,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1659,
          "items": [],
          "name": "Братская Тима",
          "order": 747,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 26,
          "items": [],
          "name": "[cspacer]✩。 Premium Channels 。✩",
          "order": 748,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 750,
          "items": [],
          "name": "[*spacer0445]-.-",
          "order": 749,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1567,
          "items": [],
          "name": "45 % vol - WASABI FAN",
          "order": 750,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 273,
          "items": [],
          "name": "[cspacer]┏╋━━━━━━◥◣◆◢◤━━━━━━╋┓",
          "order": 810,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 311,
          "items": [],
          "name": "AFK",
          "order": 869,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 944,
          "items": [],
          "name": "[SHK] ☰ TURKISH AWP",
          "order": 899,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1649,
          "items": [],
          "name": "KALLFUKOGAMING",
          "order": 944,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1588,
          "items": [],
          "name": "GUARANTEE - oveha",
          "order": 1567,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 48,
          "items": [
            {
              "clients": 0,
              "id": 429,
              "items": [],
              "name": "SUPPORT  [ 01 ]",
              "order": 0,
              "parent_id": 48,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 430,
              "items": [],
              "name": "SUPPORT  [ 02 ]",
              "order": 429,
              "parent_id": 48,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 431,
              "items": [],
              "name": "SUPPORT  [ 03 ]",
              "order": 430,
              "parent_id": 48,
              "topic": ""
            }
          ],
          "name": "● Asistenta Tehnica / Technical Support",
          "order": 1568,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 237,
          "items": [],
          "name": "[cspacer]✩。DZ TEAM CHANNELS 。✩",
          "order": 1587,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 899,
          "items": [
            {
              "clients": 0,
              "id": 932,
              "items": [],
              "name": "TURKISH PEOPLE",
              "order": 0,
              "parent_id": 899,
              "topic": ""
            }
          ],
          "name": "[SHK] ☰ TURKISH MUSIC",
          "order": 1588,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 1648,
          "items": [],
          "name": "[SHK] ☰ why",
          "order": 1594,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1609,
          "items": [],
          "name": "[*spacer132200]-.-",
          "order": 1596,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1596,
          "items": [
            {
              "clients": 0,
              "id": 1598,
              "items": [],
              "name": "Relaxing Room",
              "order": 0,
              "parent_id": 1596,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1599,
              "items": [],
              "name": "AFK Room",
              "order": 1598,
              "parent_id": 1596,
              "topic": ""
            }
          ],
          "name": "[DZ] ☰ Valorant",
          "order": 1597,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1612,
          "items": [],
          "name": "cs day",
          "order": 1608,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1610,
          "items": [],
          "name": "[cspacer24]✩。 PERMANENT CHANNELS 。✩",
          "order": 1609,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 1611,
          "items": [],
          "name": "[*spacer1300410]-.-",
          "order": 1610,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1608,
          "items": [],
          "name": "MakaPaka",
          "order": 1611,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1725,
          "items": [],
          "name": "xxxxxxxxxxxxxx",
          "order": 1612,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1594,
          "items": [],
          "name": "[SHK] ☰ rakata",
          "order": 1622,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1650,
          "items": [],
          "name": "[SHK] ☰ 1 rapariga é bom",
          "order": 1632,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1632,
          "items": [],
          "name": "[SHK] ☰ fers1m",
          "order": 1648,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1622,
          "items": [],
          "name": "TURKISH VIP",
          "order": 1649,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1760,
          "items": [],
          "name": "[SHK] ☰ bratishka",
          "order": 1650,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1695,
          "items": [],
          "name": "kazu",
          "order": 1659,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1762,
          "items": [],
          "name": "ЧИКИБАМБЛЕНИ",
          "order": 1695,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 745,
          "items": [],
          "name": "[*spacer1300]-.-",
          "order": 1725,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 427,
          "items": [],
          "name": "[*spacer11]-.-",
          "order": 1760,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1769,
          "items": [],
          "name": "vilud",
          "order": 1762,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1780,
          "items": [],
          "name": "РУССКАЯ_ОБЩИНА_МАГНИТОГОРСК",
          "order": 1769,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1785,
          "items": [],
          "name": "d1231d",
          "order": 1780,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1791,
          "items": [],
          "name": "los wenos pal lulo",
          "order": 1785,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1792,
          "items": [],
          "name": "Pochinki",
          "order": 1791,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1795,
          "items": [],
          "name": "ЕГОРРРРРРРРРРРРРРРРРРРРРРРРРРР",
          "order": 1792,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1796,
          "items": [],
          "name": "3123",
          "order": 1795,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1797,
          "items": [],
          "name": "sdawda",
          "order": 1796,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1798,
          "items": [],
          "name": "РОССИЯ ВПЕРЕД",
          "order": 1797,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1799,
          "items": [],
          "name": "РАША ПАРАША пароль вчерашний",
          "order": 1798,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1800,
          "items": [],
          "name": "gleb 67",
          "order": 1799,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1801,
          "items": [],
          "name": "CSZIN",
          "order": 1800,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1802,
          "items": [],
          "name": "312321",
          "order": 1801,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1803,
          "items": [],
          "name": "grfdtf",
          "order": 1802,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1804,
          "items": [],
          "name": "123123",
          "order": 1803,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1805,
          "items": [],
          "name": "BEST",
          "order": 1804,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1808,
          "items": [],
          "name": "CSZIN2",
          "order": 1805,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "12ftSUL/wWXDrhROvAEL+aDAt98=",
    "platform": "Linux",
    "created": 1657289757,
    "uptime": 997518,
    "steam_id": null,
    "domain": null,
    "id": 11492433,
    "ip": "155.117.255.21",
    "port": 9987,
    "query": 10011,
    "project_id": null,
    "color": 0,
    "city": "Ashburn",
    "description": "Welcome to TS3 SHARKS SERVER !",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780602866,
    "last_online": 1781040625,
    "icon": null,
    "name": "TS.SHARKS.RO # INTERNATIONAL SERVER",
    "connect": "155.117.255.21:9987",
    "request": "155.117.255.21:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.8 Build: 1779874471",
    "numplayers": 27,
    "maxplayers": 128,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 72,
    "add_date": 1778687880,
    "last_update": 1781040625,
    "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": 63,
    "language": "en",
    "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/11492433");
$data = json_decode($json, true);
var_dump($data);