प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/11142867
json
{
  "response": {
    "channels": {
      "onlinecount": 82,
      "items": [
        {
          "clients": -1,
          "id": 21,
          "items": [],
          "name": "[*spacer1]═══",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 19,
          "items": [],
          "name": "[*spacer3]═══",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 5,
          "items": [],
          "name": "[cspacer0]SUCHTBUDE.LIVE",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "[cspacer3]S E R V E R  R E G E L N - D E",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "[*spacer9]═══",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "[cspacer1]P U B L I C   S E R V E R",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "[cspacer7]├┼──────────────────────────┼┤",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "[cspacer]S E R V E R  R U L E S - E N G",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4,
          "items": [],
          "name": "[cspacer6]└┼───────── ⫷〡◆〡⫸ ─────────┼┘",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 11,
          "items": [],
          "name": "Team \\p Lounge #1",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22,
          "items": [],
          "name": "Team \\p Lounge #2",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 26,
          "items": [],
          "name": "[cspacer8]• ● Support Bereich ● •",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 31,
          "items": [],
          "name": "[cspacer8]• ● Public Talk Area ● •",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 38,
          "items": [],
          "name": "[cspacer8]• ● Private Talk Area ● •",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 45,
          "items": [],
          "name": "[cspacer8]• ● Musik Lounge ● •",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 67,
          "items": [],
          "name": "[cspacer8]• ● Temp. Channels (24 h) ● •",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 238,
          "items": [],
          "name": "Viking",
          "order": 17,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 65,
          "items": [],
          "name": "[cspacer8]• ● Perm. Channels ● •",
          "order": 18,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "[cspacer8]┌┼───────── ⫷〡◆〡⫸ ─────────┼┐",
          "order": 19,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1,
          "items": [],
          "name": "[cspacer8]• ● Eingangshalle ● •",
          "order": 20,
          "parent_id": 0,
          "topic": "Default Channel has no topic"
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "[cspacer8]• ● Team Lounge ● •",
          "order": 21,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 23,
          "items": [],
          "name": "Team \\p Lounge #3",
          "order": 22,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 24,
          "items": [],
          "name": "Team \\p [HSB 2026]",
          "order": 23,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 25,
          "items": [],
          "name": "Team \\p AFK",
          "order": 24,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "[*spacer10]═══",
          "order": 25,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 29,
          "items": [],
          "name": "Support \\p Warteraum [Geöffnet]",
          "order": 26,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28,
          "items": [],
          "name": "Support \\p Raum #2",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 20,
          "items": [],
          "name": "[*spacer2]═══",
          "order": 28,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 27,
          "items": [],
          "name": "Support \\p Raum #1",
          "order": 29,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 32,
          "items": [],
          "name": "--> Talk Channel Nr. 1",
          "order": 31,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 33,
          "items": [],
          "name": "--> Talk Channel Nr. 2",
          "order": 32,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 34,
          "items": [],
          "name": "--> Talk Channel Nr. 3",
          "order": 33,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 35,
          "items": [],
          "name": "--> Talk Channel Nr. 4",
          "order": 34,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 36,
          "items": [],
          "name": "--> Talk Channel Nr. 5",
          "order": 35,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 37,
          "items": [],
          "name": "--> Talk Channel Nr. 6",
          "order": 36,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 447,
          "items": [],
          "name": "------> Away \\p AFK",
          "order": 37,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 39,
          "items": [],
          "name": "--> Private Talk Nr. 1 (max. 2 User)",
          "order": 38,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 40,
          "items": [],
          "name": "--> Private Talk Nr. 2 (max. 2 User)",
          "order": 39,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 41,
          "items": [],
          "name": "--> Private Talk Nr. 3 (max. 3 User)",
          "order": 40,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 42,
          "items": [],
          "name": "--> Private Talk Nr. 4 (max. 3 User)",
          "order": 41,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 43,
          "items": [],
          "name": "--> Private Talk Nr. 5 (max. 5 User)",
          "order": 42,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 44,
          "items": [],
          "name": "--> Private Talk Nr. 6 (max. 5 User)",
          "order": 43,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 15,
          "items": [],
          "name": "[*spacer7]═══",
          "order": 44,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 46,
          "items": [],
          "name": "♫ ♫ PULS FM - Pure Dance Radio",
          "order": 45,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 47,
          "items": [],
          "name": "♫ ♫ I♥Radio",
          "order": 46,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 48,
          "items": [],
          "name": "♫ ♫ I♥2Dance",
          "order": 47,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 49,
          "items": [],
          "name": "♫ ♫ I♥Mashup",
          "order": 48,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 50,
          "items": [],
          "name": "♫ ♫ I♥The Sun",
          "order": 49,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 51,
          "items": [],
          "name": "♫ ♫ I♥Bass by HBZ",
          "order": 50,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 52,
          "items": [],
          "name": "♫ ♫ I♥TOMORROWLAND",
          "order": 51,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 53,
          "items": [],
          "name": "♫ ♫ I♥X-MAS",
          "order": 52,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 54,
          "items": [],
          "name": "♫ ♫ I♥US Only RAP Radio",
          "order": 53,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 55,
          "items": [],
          "name": "♫ ♫ 1Live",
          "order": 54,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 56,
          "items": [],
          "name": "♫ ♫ 1Live Diggi",
          "order": 55,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 57,
          "items": [],
          "name": "♫ ♫ TechnoBase.FM",
          "order": 56,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 58,
          "items": [],
          "name": "♫ ♫ Housetime.FM",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 59,
          "items": [],
          "name": "♫ ♫ Hardbase.FM",
          "order": 58,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 60,
          "items": [],
          "name": "♫ ♫ Trancebase.FM",
          "order": 59,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 61,
          "items": [],
          "name": "♫ ♫ Coretime.FM",
          "order": 60,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 62,
          "items": [],
          "name": "♫ ♫ Clubtime.FM",
          "order": 61,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 63,
          "items": [],
          "name": "♫ ♫ Teatime.FM",
          "order": 62,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 64,
          "items": [],
          "name": "♫ ♫ Replay.FM",
          "order": 63,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 18,
          "items": [],
          "name": "[*spacer4]═══",
          "order": 64,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 66,
          "items": [],
          "name": "Yes, we scan!",
          "order": 65,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 147,
          "items": [],
          "name": "Bretterbude",
          "order": 66,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 17,
          "items": [],
          "name": "[*spacer5]═══",
          "order": 67,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 605,
          "items": [],
          "name": "nuks",
          "order": 147,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 409,
          "items": [],
          "name": "jekiwar",
          "order": 214,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 221,
          "items": [],
          "name": "123123123",
          "order": 216,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 214,
          "items": [],
          "name": "Квадроберы",
          "order": 221,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 411,
          "items": [],
          "name": "кс",
          "order": 238,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 16,
          "items": [],
          "name": "[*spacer6]═══",
          "order": 409,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 413,
          "items": [],
          "name": "dshxzww",
          "order": 411,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 414,
          "items": [],
          "name": "квадрокоптеры",
          "order": 413,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 582,
          "items": [],
          "name": "сейлем",
          "order": 414,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[*spacer8]═══",
          "order": 447,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1255,
          "items": [],
          "name": "ЧИКИБАМБЛЕНИ",
          "order": 582,
          "parent_id": 0,
          "topic": "Erstellt von: nzu -"
        },
        {
          "clients": 0,
          "id": 216,
          "items": [],
          "name": "bliskie",
          "order": 605,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1348,
          "items": [],
          "name": "bf",
          "order": 1255,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1350,
          "items": [],
          "name": "ks",
          "order": 1348,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1351,
          "items": [],
          "name": "cs",
          "order": 1350,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1352,
          "items": [],
          "name": "rüzoo",
          "order": 1351,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "kG79Nt9FLSIxtBTwkrJzkRxVpLI=",
    "platform": "Linux",
    "created": 1727692446,
    "uptime": 6077580,
    "steam_id": null,
    "domain": "ts3public.join.jetzt",
    "id": 11142867,
    "ip": "194.13.82.254",
    "port": 9987,
    "query": 9987,
    "project_id": null,
    "color": 0,
    "city": "Nuremberg",
    "description": null,
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775023892,
    "last_online": 1781305243,
    "icon": null,
    "name": "🔥 SuchtBude.Live \\p Dashboard \\p Community \\p Level & Music",
    "connect": "ts3public.join.jetzt:9987",
    "request": "194.13.82.254:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 23,
    "maxplayers": 512,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 35,
    "add_date": 1770933677,
    "last_update": 1781305243,
    "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": 153,
    "language": "de",
    "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.in/servers/11142867");
$data = json_decode($json, true);
var_dump($data);