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

text
https://api.gamemonitoring.in/servers/10733929
json
{
  "response": {
    "channels": {
      "onlinecount": 66,
      "items": [
        {
          "clients": 0,
          "id": 111,
          "items": [
            {
              "clients": 0,
              "id": 112,
              "items": [],
              "name": "¤--> Ansprechpartner & Bezeichnungen",
              "order": 0,
              "parent_id": 111,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 231,
              "items": [],
              "name": "¤--> Serverregeln",
              "order": 112,
              "parent_id": 111,
              "topic": ""
            }
          ],
          "name": "[spacer]╔════════▌ INFO-BOX ▐════════╗",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 115,
          "items": [],
          "name": "[spacer0]╚═════════════════════════╝",
          "order": 111,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 116,
          "items": [
            {
              "clients": 0,
              "id": 117,
              "items": [],
              "name": "¤--> Administration",
              "order": 0,
              "parent_id": 116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 123,
              "items": [],
              "name": "¤--> TC 1",
              "order": 117,
              "parent_id": 116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 124,
              "items": [],
              "name": "¤--> TC 2",
              "order": 123,
              "parent_id": 116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 126,
              "items": [],
              "name": "¤--> TC 3",
              "order": 124,
              "parent_id": 116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 222,
              "items": [],
              "name": "¤--> TC 4",
              "order": 126,
              "parent_id": 116,
              "topic": ""
            },
            {
              "clients": -1,
              "id": 121,
              "items": [],
              "name": "¤--> Nicht stören [Unsichtbar]",
              "order": 222,
              "parent_id": 116,
              "topic": ""
            }
          ],
          "name": "[spacer]╔══════════▌ TEAM ▐═════════╗",
          "order": 115,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 132,
          "items": [],
          "name": "[spacer2]╚═════════════════════════╝",
          "order": 116,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 133,
          "items": [],
          "name": "[spacer]╔═════════▌ LOBBY ▐═════════╗",
          "order": 132,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 134,
          "items": [],
          "name": "[spacer1]╚══════════════════════════╝",
          "order": 133,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 135,
          "items": [
            {
              "clients": 0,
              "id": 136,
              "items": [],
              "name": "--> Unterhaltung Nr. 1 [OM]",
              "order": 0,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 137,
              "items": [],
              "name": "--> Unterhaltung Nr. 2 [OM]",
              "order": 136,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 138,
              "items": [],
              "name": "--> Unterhaltung Nr. 3 [OM]",
              "order": 137,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 139,
              "items": [],
              "name": "--> Unterhaltung Nr. 4 [OM]",
              "order": 138,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 140,
              "items": [],
              "name": "--> Unterhaltung Nr. 5 [OM]",
              "order": 139,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 141,
              "items": [],
              "name": "--> Unterhaltung Nr. 6 [OM]",
              "order": 140,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 142,
              "items": [],
              "name": "--> Unterhaltung Nr. 7 [OM]",
              "order": 141,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 235,
              "items": [],
              "name": "--> Unterhaltung Nr. 8 [OM]",
              "order": 142,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 144,
              "items": [],
              "name": "--> Unterhaltung Nr. 12",
              "order": 143,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 145,
              "items": [],
              "name": "--> Unterhaltung Nr. 13",
              "order": 144,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 146,
              "items": [],
              "name": "--> Unterhaltung Nr. 14",
              "order": 145,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 147,
              "items": [],
              "name": "--> Unterhaltung Nr. 15",
              "order": 146,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 148,
              "items": [],
              "name": "--> Unterhaltung Nr. 16",
              "order": 147,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 149,
              "items": [],
              "name": "--> Unterhaltung Nr. 17",
              "order": 148,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 238,
              "items": [],
              "name": "--> Unterhaltung Nr. 18",
              "order": 149,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 152,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 2 [OM]",
              "order": 151,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 241,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 3 [OM]",
              "order": 152,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 154,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 6",
              "order": 153,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 243,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 7",
              "order": 154,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 245,
              "items": [],
              "name": "--> Unterhaltung für 3 Nr. 2 [OM]",
              "order": 155,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 247,
              "items": [],
              "name": "--> Unterhaltung für 3 Nr. 4",
              "order": 156,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 248,
              "items": [],
              "name": "--> Unterhaltung für 4 Nr. 2 [OM]",
              "order": 157,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 249,
              "items": [],
              "name": "--> Unterhaltung für 4 Nr. 4",
              "order": 158,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 250,
              "items": [],
              "name": "--> Unterhaltung für 5 Nr. 2 [OM]",
              "order": 229,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 251,
              "items": [],
              "name": "--> Unterhaltung für 5 Nr. 4",
              "order": 230,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 236,
              "items": [],
              "name": "--> Unterhaltung Nr. 9 [OM]",
              "order": 235,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 237,
              "items": [],
              "name": "--> Unterhaltung Nr. 10 [OM]",
              "order": 236,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 143,
              "items": [],
              "name": "--> Unterhaltung Nr. 11",
              "order": 237,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 239,
              "items": [],
              "name": "--> Unterhaltung Nr. 19",
              "order": 238,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 240,
              "items": [],
              "name": "--> Unterhaltung Nr. 20",
              "order": 239,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 151,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 1 [OM]",
              "order": 240,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 242,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 4 [OM]",
              "order": 241,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 153,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 5",
              "order": 242,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 244,
              "items": [],
              "name": "--> Unterhaltung für 2 Nr. 8",
              "order": 243,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 155,
              "items": [],
              "name": "--> Unterhaltung für 3 Nr. 1 [OM]",
              "order": 244,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 156,
              "items": [],
              "name": "--> Unterhaltung für 3 Nr. 3",
              "order": 245,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 157,
              "items": [],
              "name": "--> Unterhaltung für 4 Nr. 1 [OM]",
              "order": 247,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 158,
              "items": [],
              "name": "--> Unterhaltung für 4 Nr. 3",
              "order": 248,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 229,
              "items": [],
              "name": "--> Unterhaltung für 5 Nr. 1 [OM]",
              "order": 249,
              "parent_id": 135,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 230,
              "items": [],
              "name": "--> Unterhaltung für 5 Nr. 3",
              "order": 250,
              "parent_id": 135,
              "topic": ""
            }
          ],
          "name": "[spacer]╔══════▌ UNTERHALTUNG ▐══════╗",
          "order": 134,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 159,
          "items": [],
          "name": "[spacer4]╚═════════════════════════╝",
          "order": 135,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 202,
          "items": [
            {
              "clients": 0,
              "id": 203,
              "items": [],
              "name": "¤--> Abwesend",
              "order": 0,
              "parent_id": 202,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 204,
              "items": [],
              "name": "¤--> Anderer TS",
              "order": 203,
              "parent_id": 202,
              "topic": ""
            }
          ],
          "name": "[spacer]╔══════▌ AFK / ANDERES ▐═══════╗",
          "order": 159,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 205,
          "items": [],
          "name": "[spacer10]╚══════════════════════════╝",
          "order": 202,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 206,
          "items": [],
          "name": "[spacer]╔═══════▌ PERMANENT ▐═══════╗",
          "order": 205,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 582,
          "items": [],
          "name": "Bossis Höhle",
          "order": 206,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 218,
          "items": [],
          "name": "[spacer]╔════════▌ TEMP / SEMI ▐═══════╗",
          "order": 217,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1096,
          "items": [],
          "name": "arena",
          "order": 218,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 217,
          "items": [],
          "name": "[spacer9]╚═════════════════════════╝",
          "order": 255,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 255,
          "items": [],
          "name": "Mr.M",
          "order": 582,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "KV8KIDvtpXZINBt0RpAW9CJGbPg=",
    "platform": "Linux",
    "created": 1396206092,
    "uptime": 233134,
    "steam_id": null,
    "domain": "ts.icera-network.de",
    "id": 10733929,
    "ip": "51.195.21.58",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776728000,
    "score": 0,
    "last_online": 1776963036,
    "icon": null,
    "name": "Icera Network - Public TS",
    "connect": "ts.icera-network.de:9987",
    "request": "51.195.21.58:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 4,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 37,
    "add_date": 1765927618,
    "last_update": 1776963036,
    "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": 160,
    "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/10733929");
$data = json_decode($json, true);
var_dump($data);