JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/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": 0,
              "id": 3,
              "items": [],
              "name": "Вход = бан + дуддос",
              "order": 14906,
              "parent_id": 8,
              "topic": ""
            }
          ],
          "name": "Секс по тимспику",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108522,
          "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": 2,
          "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": 108863,
          "items": [],
          "name": "геи",
          "order": 108522,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108865,
          "items": [],
          "name": "setr5yht",
          "order": 108863,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108903,
          "items": [],
          "name": "123",
          "order": 108865,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108913,
          "items": [],
          "name": "слава яйцам",
          "order": 108903,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108917,
          "items": [],
          "name": "MAKEDONIYA",
          "order": 108913,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108918,
          "items": [],
          "name": "3421",
          "order": 108917,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108922,
          "items": [],
          "name": "фв дарк",
          "order": 108918,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108925,
          "items": [],
          "name": "zxcальтухи",
          "order": 108922,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108928,
          "items": [],
          "name": "ГОООООООООООООЛ",
          "order": 108925,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 5,
          "id": 108935,
          "items": [],
          "name": "челсі",
          "order": 108928,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108937,
          "items": [],
          "name": "шрамгей",
          "order": 108935,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108940,
          "items": [],
          "name": "fafa",
          "order": 108937,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108956,
          "items": [],
          "name": "sda",
          "order": 108940,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108958,
          "items": [],
          "name": "456456546456456456",
          "order": 108956,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108960,
          "items": [],
          "name": "stakmol",
          "order": 108958,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108963,
          "items": [],
          "name": "кс",
          "order": 108960,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108964,
          "items": [],
          "name": "1111",
          "order": 108963,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108965,
          "items": [],
          "name": "17",
          "order": 108964,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108967,
          "items": [],
          "name": "527",
          "order": 108965,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108970,
          "items": [],
          "name": "Mauler",
          "order": 108967,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108971,
          "items": [],
          "name": "Скуфитерий",
          "order": 108970,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108975,
          "items": [],
          "name": "jroom",
          "order": 108971,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 108976,
          "items": [],
          "name": "иван",
          "order": 108975,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108978,
          "items": [],
          "name": "321321",
          "order": 108976,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108980,
          "items": [],
          "name": "aloha87",
          "order": 108978,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108984,
          "items": [],
          "name": "натаоля",
          "order": 108980,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 108985,
          "items": [],
          "name": "обожаю контру. ненавижу работу.",
          "order": 108984,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108992,
          "items": [],
          "name": "Наволекс",
          "order": 108985,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108994,
          "items": [],
          "name": "че когда",
          "order": 108992,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108995,
          "items": [],
          "name": "228",
          "order": 108994,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108997,
          "items": [],
          "name": "довхац1ий",
          "order": 108995,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 108998,
          "items": [],
          "name": "тлдьтдьтлдть",
          "order": 108997,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 108999,
          "items": [],
          "name": "zus",
          "order": 108998,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 109002,
          "items": [],
          "name": "кс222",
          "order": 108999,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 109003,
          "items": [],
          "name": "Еноты-полоскуны",
          "order": 109002,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 109004,
          "items": [],
          "name": "темный дрюн гладит мне писюн",
          "order": 109003,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 109005,
          "items": [],
          "name": "рыжий",
          "order": 109004,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 109006,
          "items": [],
          "name": "степахуйло1231",
          "order": 109005,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "GkZuV3dGYaiaE1+3ok+RVcXzyWw=",
    "platform": "Linux",
    "created": 1702251402,
    "uptime": 4486700,
    "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": 1780292046,
    "last_online": 1780522220,
    "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": 91,
    "maxplayers": 256,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 86,
    "add_date": 1776028816,
    "last_update": 1780522220,
    "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": 34,
    "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.ru/servers/11489053");
$data = json_decode($json, true);
var_dump($data);