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

text
https://api.gamemonitoring.in/servers/11142876
json
{
  "response": {
    "channels": {
      "onlinecount": 74,
      "items": [
        {
          "clients": 0,
          "id": 796,
          "items": [],
          "name": "[*spacer1]═•═",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1420,
          "items": [],
          "name": "[*spacer2]═•═",
          "order": 446,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 885,
          "items": [],
          "name": "[*spacer4]═•═",
          "order": 456,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 456,
          "items": [],
          "name": "[cspacer2]-=Ξ\\p~Gaming Ecke~\\pΞ=-",
          "order": 470,
          "parent_id": 0,
          "topic": "Zocken"
        },
        {
          "clients": 0,
          "id": 1771,
          "items": [],
          "name": "[*spacer15]═•═",
          "order": 471,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2009,
          "items": [],
          "name": "[*spacer20]═•═",
          "order": 474,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 932,
          "items": [],
          "name": "Darkorbit",
          "order": 558,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1623,
          "items": [],
          "name": "[cspacer3]-=Ξ\\p~Clan Ecke~\\pΞ=-",
          "order": 595,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1759,
          "items": [],
          "name": "[*spacer13]═•═",
          "order": 790,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 446,
          "items": [],
          "name": "[cspacer1]-=Ξ\\p~Eingangsbereich~\\pΞ=-",
          "order": 796,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 872,
          "items": [],
          "name": "1 Stunde",
          "order": 871,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 873,
          "items": [],
          "name": "1 Stunde +",
          "order": 872,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1769,
          "items": [],
          "name": "[*spacer14]═•═",
          "order": 873,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 881,
          "items": [],
          "name": "Labern   2",
          "order": 879,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 882,
          "items": [],
          "name": "Labern   3",
          "order": 881,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 883,
          "items": [],
          "name": "Labern   4",
          "order": 882,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1394,
          "items": [],
          "name": "Labern   5",
          "order": 883,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1998,
          "items": [],
          "name": "Battlefield",
          "order": 885,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1989,
          "items": [],
          "name": "Diablo",
          "order": 932,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2010,
          "items": [],
          "name": "[*spacer21]═•═",
          "order": 1116,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1786,
          "items": [],
          "name": "Labern   6",
          "order": 1394,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 879,
          "items": [],
          "name": "Labern   1",
          "order": 1420,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1116,
          "items": [
            {
              "clients": 0,
              "id": 1925,
              "items": [],
              "name": "<~GamingOase~>",
              "order": 0,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1933,
              "items": [],
              "name": "<~EuroTruck 2~>",
              "order": 1413,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2051,
              "items": [],
              "name": "<~Lost Ark~>",
              "order": 1925,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2044,
              "items": [],
              "name": "<~Twitch~>",
              "order": 1933,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2048,
              "items": [],
              "name": "<~ Star Wars Battlefront 2 ~>",
              "order": 1985,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1985,
              "items": [],
              "name": "<~ Star Wars The Old Republic ~>",
              "order": 2029,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1413,
              "items": [],
              "name": "<~Diablo4~>",
              "order": 2048,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2029,
              "items": [],
              "name": "<~Forza Horizon 4 ~>",
              "order": 2050,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2056,
              "items": [],
              "name": "<~ Battlefield ~>",
              "order": 2051,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2050,
              "items": [],
              "name": "<~The First Descendant~>",
              "order": 2052,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2052,
              "items": [],
              "name": "<~Call of Duty Cold War~>",
              "order": 2054,
              "parent_id": 1116,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2054,
              "items": [],
              "name": "<~WoT~>",
              "order": 2056,
              "parent_id": 1116,
              "topic": ""
            }
          ],
          "name": "<~RWE-Clanecke~>",
          "order": 1620,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1620,
          "items": [],
          "name": "[*spacer11]═•═",
          "order": 1623,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 558,
          "items": [],
          "name": "DayZ",
          "order": 1733,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 871,
          "items": [],
          "name": "30 Min",
          "order": 1759,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 471,
          "items": [],
          "name": "[cspacer5]-=Ξ\\p~Download Ecke~\\pΞ=-",
          "order": 1769,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 474,
          "items": [],
          "name": "Datei-Browser",
          "order": 1771,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2042,
          "items": [],
          "name": "Labern   7",
          "order": 1786,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1862,
          "items": [],
          "name": "Labern   9",
          "order": 1861,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1863,
          "items": [],
          "name": "Labern 10",
          "order": 1862,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1947,
          "items": [],
          "name": "Labern 11",
          "order": 1863,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1948,
          "items": [],
          "name": "Labern 12",
          "order": 1947,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1949,
          "items": [],
          "name": "Labern 13",
          "order": 1948,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1950,
          "items": [],
          "name": "Labern 14",
          "order": 1949,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1951,
          "items": [],
          "name": "Labern 15",
          "order": 1950,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 470,
          "items": [],
          "name": "[*spacer3]═•═",
          "order": 1951,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1953,
          "items": [
            {
              "clients": 0,
              "id": 2023,
              "items": [],
              "name": "Naschi 1",
              "order": 0,
              "parent_id": 1953,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2020,
              "items": [],
              "name": "Naschi 2",
              "order": 2023,
              "parent_id": 1953,
              "topic": ""
            }
          ],
          "name": "Naschikatzi",
          "order": 1952,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1954,
          "items": [],
          "name": "[*spacer19]═•═",
          "order": 1953,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2016,
          "items": [
            {
              "clients": 0,
              "id": 2017,
              "items": [],
              "name": "Lobby",
              "order": 0,
              "parent_id": 2016,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2024,
              "items": [],
              "name": "Labbern 1",
              "order": 2017,
              "parent_id": 2016,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2025,
              "items": [],
              "name": "Labbern 2",
              "order": 2024,
              "parent_id": 2016,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2018,
              "items": [],
              "name": "Matchmaking",
              "order": 2025,
              "parent_id": 2016,
              "topic": ""
            }
          ],
          "name": "Teutonia Madfraggers",
          "order": 1954,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1952,
          "items": [],
          "name": "[*spacer18]═•═",
          "order": 1978,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2049,
          "items": [],
          "name": "GTA",
          "order": 1989,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1733,
          "items": [
            {
              "clients": 0,
              "id": 1734,
              "items": [],
              "name": "Team 1",
              "order": 0,
              "parent_id": 1733,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2015,
              "items": [],
              "name": "Team 2",
              "order": 1734,
              "parent_id": 1733,
              "topic": ""
            }
          ],
          "name": "Counterstrike Global Offensive",
          "order": 1998,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 595,
          "items": [],
          "name": "[*spacer5]═•═",
          "order": 1999,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 790,
          "items": [],
          "name": "[cspacer4]-=Ξ\\p~Away from Keyboard~\\pΞ=-",
          "order": 2005,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1978,
          "items": [
            {
              "clients": 0,
              "id": 1979,
              "items": [],
              "name": "★ >> Talk 1 << ★",
              "order": 0,
              "parent_id": 1978,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1983,
              "items": [],
              "name": "★ >> Talk 2 << ★",
              "order": 1979,
              "parent_id": 1978,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 1982,
              "items": [],
              "name": "★ >> League of Legends << ★",
              "order": 1983,
              "parent_id": 1978,
              "topic": ""
            }
          ],
          "name": "Granatenabfang Kommando",
          "order": 2010,
          "parent_id": 0,
          "topic": "Hardsuffis"
        },
        {
          "clients": 0,
          "id": 2005,
          "items": [],
          "name": "[*spacer17]═•═",
          "order": 2016,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1861,
          "items": [],
          "name": "Labern   8",
          "order": 2042,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1999,
          "items": [
            {
              "clients": 0,
              "id": 2000,
              "items": [],
              "name": "Team I",
              "order": 0,
              "parent_id": 1999,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 2001,
              "items": [],
              "name": "Team II",
              "order": 2000,
              "parent_id": 1999,
              "topic": ""
            }
          ],
          "name": "League of Legends",
          "order": 2049,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "JZ42c9SW3qGF4oFKCq3ezdOOhYE=",
    "platform": "Linux",
    "created": 1294593042,
    "uptime": 95903,
    "steam_id": null,
    "domain": null,
    "id": 11142876,
    "ip": "37.120.162.62",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Nuremberg",
    "description": "Willkommen bei [g-c.one](http://www.g-c.one/) - bei Fragen oder Sonstigem wendet euch bitte an einen roten Admin.\\r\n--------------------------------------------------------------------------------------------------------------\\r\nNeuerdings könnt Ihr euch einfach mit \"g-c\" oder \"g-c.one\" als IP/Serveradresse auf diesen Server vebinden.\\r\n--------------------------------------------------------------------------------------------------------------\\r\nViel Spaß \\r\n--------------------------------------------------------------------------------------------------------------",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1772929912,
    "score": 0,
    "last_online": 1776046214,
    "icon": null,
    "name": "g-c.one",
    "connect": "37.120.162.62:9987",
    "request": "37.120.162.62:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.6 Build: 1623234157",
    "numplayers": 1,
    "maxplayers": 230,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1770933677,
    "last_update": 1776046214,
    "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": 143,
    "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/11142876");
$data = json_decode($json, true);
var_dump($data);