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

text
https://api.gamemonitoring.ru/servers/11489052
json
{
  "response": {
    "channels": {
      "onlinecount": 53,
      "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": 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": 2,
          "id": 99206,
          "items": [],
          "name": "ААё",
          "order": 99203,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99211,
          "items": [],
          "name": "хватит прятать зависть",
          "order": 99206,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99214,
          "items": [],
          "name": "шпаклевка хуевка",
          "order": 99211,
          "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": 3,
          "id": 99230,
          "items": [],
          "name": "ALOHA 4Вторая",
          "order": 99228,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "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": 4,
          "id": 99235,
          "items": [],
          "name": "jopa",
          "order": 99234,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99238,
          "items": [],
          "name": "qwe",
          "order": 99235,
          "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": 2,
          "id": 99245,
          "items": [],
          "name": "ШШШШШШШШШШШШШШШШШШШШШШШШШШ",
          "order": 99244,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99247,
          "items": [],
          "name": "кокосик",
          "order": 99245,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99248,
          "items": [],
          "name": "довха пабг",
          "order": 99247,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99249,
          "items": [],
          "name": "шлепок Майонеза",
          "order": 99248,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99252,
          "items": [],
          "name": "просто агась",
          "order": 99249,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99255,
          "items": [],
          "name": "котлы",
          "order": 99252,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99256,
          "items": [],
          "name": "234234",
          "order": 99255,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99266,
          "items": [],
          "name": "HAWKSSSSSSSSSSSSSSSS",
          "order": 99256,
          "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": ""
        },
        {
          "clients": 2,
          "id": 99269,
          "items": [],
          "name": "govno",
          "order": 99268,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 99270,
          "items": [],
          "name": "kpss",
          "order": 99269,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99271,
          "items": [],
          "name": "zobik",
          "order": 99270,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99272,
          "items": [],
          "name": "не путай ыщйъооъы",
          "order": 99271,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99273,
          "items": [],
          "name": ".RUSHB",
          "order": 99272,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99275,
          "items": [],
          "name": "Шалашик",
          "order": 99273,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99276,
          "items": [],
          "name": "с1выф",
          "order": 99275,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 99277,
          "items": [],
          "name": "WFMT",
          "order": 99276,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 99278,
          "items": [],
          "name": "wegt",
          "order": 99277,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 99279,
          "items": [],
          "name": "19",
          "order": 99278,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "GkZuV3dGYaiaE1+3ok+RVcXzyWw=",
    "platform": "Linux",
    "created": 1702251402,
    "uptime": 317319,
    "steam_id": null,
    "domain": null,
    "id": 11489052,
    "ip": "94.154.1.110",
    "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": 1776028815,
    "score": 0,
    "last_online": 1776352817,
    "icon": null,
    "name": "void",
    "connect": "94.154.1.110:9987",
    "request": "94.154.1.110:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 83,
    "maxplayers": 256,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 81,
    "add_date": 1776028815,
    "last_update": 1776352817,
    "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": 30,
    "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/11489052");
$data = json_decode($json, true);
var_dump($data);