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

text
https://api.gamemonitoring.in/servers/10824727
json
{
  "response": {
    "channels": {
      "onlinecount": 19,
      "items": [
        {
          "clients": 1,
          "id": 5629,
          "items": [],
          "name": "welcome :3",
          "order": 0,
          "parent_id": 0,
          "topic": "Default Channel has no topic"
        },
        {
          "clients": 0,
          "id": 5643,
          "items": [],
          "name": "[*spacer1]—",
          "order": 5629,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5644,
          "items": [
            {
              "clients": 3,
              "id": 5645,
              "items": [],
              "name": "rosey",
              "order": 0,
              "parent_id": 5644,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5709,
              "items": [],
              "name": "^(noobs) S.N.A",
              "order": 5645,
              "parent_id": 5644,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5710,
              "items": [],
              "name": "^(fuck u two) mel",
              "order": 5709,
              "parent_id": 5644,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5726,
              "items": [],
              "name": "ellie ♡",
              "order": 5710,
              "parent_id": 5644,
              "topic": ""
            },
            {
              "clients": 2,
              "id": 5711,
              "items": [],
              "name": "thal",
              "order": 5726,
              "parent_id": 5644,
              "topic": ""
            }
          ],
          "name": "[cspacer2]⋆ ˚。⋆୨ ♡ ୧⋆ ˚。⋆",
          "order": 5643,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5651,
          "items": [],
          "name": "[*spacer2]—",
          "order": 5644,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5652,
          "items": [
            {
              "clients": 0,
              "id": 5701,
              "items": [],
              "name": "chilling",
              "order": 0,
              "parent_id": 5652,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5702,
              "items": [
                {
                  "clients": 0,
                  "id": 5717,
                  "items": [],
                  "name": "cs",
                  "order": 0,
                  "parent_id": 5702,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 5716,
                  "items": [],
                  "name": "cod4",
                  "order": 5713,
                  "parent_id": 5702,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 5720,
                  "items": [],
                  "name": "trikz",
                  "order": 5716,
                  "parent_id": 5702,
                  "topic": ""
                },
                {
                  "clients": 0,
                  "id": 5713,
                  "items": [],
                  "name": "cod2",
                  "order": 5717,
                  "parent_id": 5702,
                  "topic": ""
                }
              ],
              "name": "gaming",
              "order": 5701,
              "parent_id": 5652,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 5703,
              "items": [],
              "name": "afk",
              "order": 5702,
              "parent_id": 5652,
              "topic": ""
            }
          ],
          "name": "[cspacer2]─── ⋆⋅☆⋅⋆ ───",
          "order": 5651,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5707,
          "items": [],
          "name": "[cspacer3]dm rose for personal channels",
          "order": 5652,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5719,
          "items": [],
          "name": "useless",
          "order": 5707,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "m1FGs6BZS04zte5JqLbBUBGlSdg=",
    "platform": "Linux",
    "created": 1479651849,
    "uptime": 29531291,
    "steam_id": null,
    "domain": "ts.nqa.io",
    "id": 10824727,
    "ip": "88.196.63.16",
    "port": 1337,
    "query": 10011,
    "project_id": null,
    "color": 0,
    "city": "Tallinn",
    "description": "Welcome to fagcord :3 ♡\nwelcome to fagcord :3 ♡",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780822405,
    "last_online": 1780789825,
    "icon": null,
    "name": "fagcord ♡ ~ by reape.rs",
    "connect": "ts.nqa.io:1337",
    "request": "88.196.63.16:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 0,
    "maxplayers": 69,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "EE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1767290103,
    "last_update": 1780822405,
    "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": 170,
    "language": "et",
    "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/10824727");
$data = json_decode($json, true);
var_dump($data);