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

text
https://api.gamemonitoring.in/servers/11489053
json
{
  "response": {
    "channels": {
      "onlinecount": 52,
      "items": [
        {
          "clients": -1,
          "id": 8,
          "items": [
            {
              "clients": -1,
              "id": 14906,
              "items": [],
              "name": "альтухи",
              "order": 0,
              "parent_id": 8,
              "topic": ""
            },
            {
              "clients": 2,
              "id": 3,
              "items": [],
              "name": "Вход = бан + дуддос",
              "order": 14906,
              "parent_id": 8,
              "topic": ""
            }
          ],
          "name": "Секс по тимспику",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 98983,
          "items": [],
          "name": "вы",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "666",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 37070,
          "items": [],
          "name": "[spacer]",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 48281,
          "items": [],
          "name": "Оверпики",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "999",
          "order": 138,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 67576,
          "items": [],
          "name": "zima",
          "order": 10535,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 1,
          "items": [],
          "name": "[cspacer] Spawn",
          "order": 37070,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 49777,
          "items": [],
          "name": "барвиха лакшери",
          "order": 48281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10535,
          "items": [],
          "name": "icytoxic",
          "order": 49777,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 138,
          "items": [
            {
              "clients": 0,
              "id": 10425,
              "items": [],
              "name": "ещё одни тупые няшки",
              "order": 0,
              "parent_id": 138,
              "topic": ""
            }
          ],
          "name": "тупые няшки",
          "order": 67576,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99085,
          "items": [],
          "name": "5252",
          "order": 98983,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99203,
          "items": [],
          "name": "3534575687567356654357856735456345346458",
          "order": 99085,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99204,
          "items": [],
          "name": "321231",
          "order": 99203,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99206,
          "items": [],
          "name": "ААё",
          "order": 99204,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99209,
          "items": [],
          "name": "шрамгей",
          "order": 99206,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99211,
          "items": [],
          "name": "хватит прятать зависть",
          "order": 99209,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99213,
          "items": [],
          "name": "Лудо сметчики",
          "order": 99211,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99214,
          "items": [],
          "name": "шпаклевка хуевка",
          "order": 99213,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99220,
          "items": [],
          "name": "174",
          "order": 99214,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99222,
          "items": [],
          "name": "инвокер имба патча",
          "order": 99220,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99223,
          "items": [],
          "name": "тима даунов",
          "order": 99222,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99225,
          "items": [],
          "name": "писька",
          "order": 99223,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99227,
          "items": [],
          "name": "xd",
          "order": 99225,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99228,
          "items": [],
          "name": "norm2",
          "order": 99227,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99230,
          "items": [],
          "name": "ALOHA 4Вторая",
          "order": 99228,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 99232,
          "items": [],
          "name": "FACEIT",
          "order": 99230,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99234,
          "items": [],
          "name": "SSS",
          "order": 99232,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99235,
          "items": [],
          "name": "jopa",
          "order": 99234,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99236,
          "items": [],
          "name": "володимир блоляяять",
          "order": 99235,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99238,
          "items": [],
          "name": "qwe",
          "order": 99236,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99239,
          "items": [],
          "name": "-нытье+секс",
          "order": 99238,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99240,
          "items": [],
          "name": "wz",
          "order": 99239,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99244,
          "items": [],
          "name": "ООО \"Общак\"",
          "order": 99240,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99245,
          "items": [],
          "name": "ШШШШШШШШШШШШШШШШШШШШШШШШШШ",
          "order": 99244,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99246,
          "items": [],
          "name": "gg",
          "order": 99245,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99247,
          "items": [],
          "name": "кокосик",
          "order": 99246,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99248,
          "items": [],
          "name": "довха пабг",
          "order": 99247,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99249,
          "items": [],
          "name": "шлепок Майонеза",
          "order": 99248,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99252,
          "items": [],
          "name": "просто агась",
          "order": 99249,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99255,
          "items": [],
          "name": "котлы",
          "order": 99252,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99256,
          "items": [],
          "name": "234234",
          "order": 99255,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99258,
          "items": [],
          "name": "PUBG",
          "order": 99256,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99259,
          "items": [],
          "name": "женьбка 1ауе",
          "order": 99258,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99261,
          "items": [],
          "name": "иван",
          "order": 99259,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99262,
          "items": [],
          "name": "ЗАХОДИ ДРУГ",
          "order": 99261,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99266,
          "items": [],
          "name": "HAWKSSSSSSSSSSSSSSSS",
          "order": 99262,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99267,
          "items": [],
          "name": "fdfdgfdgfdggdf",
          "order": 99266,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99268,
          "items": [],
          "name": "ромка жалай",
          "order": 99267,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "GkZuV3dGYaiaE1+3ok+RVcXzyWw=",
    "platform": "Linux",
    "created": 1702251402,
    "uptime": 313718,
    "steam_id": null,
    "domain": null,
    "id": 11489053,
    "ip": "94.154.1.86",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Nuremberg",
    "description": "Welcome to void, check deylary.t.me\nНайти канал: CTRL + F => Название",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776028816,
    "score": 0,
    "last_online": 1776349215,
    "icon": null,
    "name": "void",
    "connect": "94.154.1.86:9987",
    "request": "94.154.1.86:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 87,
    "maxplayers": 256,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 83,
    "add_date": 1776028816,
    "last_update": 1776349215,
    "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": 29,
    "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/11489053");
$data = json_decode($json, true);
var_dump($data);