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

text
https://api.gamemonitoring.ru/servers/10733937
json
{
  "response": {
    "channels": {
      "onlinecount": 107,
      "items": [
        {
          "clients": 2,
          "id": 1,
          "items": [],
          "name": "РЕСПА",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 176,
          "items": [],
          "name": "Комната 1",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 177,
          "items": [],
          "name": "Комната 2",
          "order": 176,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 178,
          "items": [],
          "name": "Комната 3",
          "order": 177,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 179,
          "items": [],
          "name": "Комната 4",
          "order": 178,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 180,
          "items": [],
          "name": "Комната 5",
          "order": 179,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 2757,
          "items": [],
          "name": "Комната 6",
          "order": 180,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2758,
          "items": [],
          "name": "Комната 7",
          "order": 2757,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2759,
          "items": [],
          "name": "Комната 8",
          "order": 2758,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2760,
          "items": [],
          "name": "Комната 9",
          "order": 2759,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2761,
          "items": [],
          "name": "Комната 10",
          "order": 2760,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6022,
          "items": [],
          "name": "BLACK BEDOLAGA",
          "order": 2761,
          "parent_id": 0,
          "topic": "BLACK BEDOLAGA TEAM IN FAR EAST"
        },
        {
          "clients": 0,
          "id": 7175,
          "items": [],
          "name": "inGame",
          "order": 6022,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7176,
          "items": [],
          "name": "inGame2",
          "order": 7175,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9396,
          "items": [],
          "name": "СS2Play",
          "order": 7176,
          "parent_id": 0,
          "topic": "Зарегай ПЖ 2"
        },
        {
          "clients": 0,
          "id": 11778,
          "items": [],
          "name": "Братики",
          "order": 9396,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11798,
          "items": [],
          "name": "___________КУБИК",
          "order": 11778,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11802,
          "items": [],
          "name": "141515",
          "order": 11798,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 11820,
          "items": [],
          "name": "555",
          "order": 11802,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11840,
          "items": [],
          "name": "o4ko",
          "order": 11820,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 11848,
          "items": [],
          "name": "aboba",
          "order": 11840,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11890,
          "items": [],
          "name": "PUBG",
          "order": 11848,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11963,
          "items": [],
          "name": "tannellor",
          "order": 11890,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12033,
          "items": [],
          "name": "ObitTeam",
          "order": 11963,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12056,
          "items": [],
          "name": "КИБЕРСПОРТСМЕНЫ",
          "order": 12033,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12106,
          "items": [],
          "name": "инсоленс",
          "order": 12056,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12117,
          "items": [],
          "name": "Sparta",
          "order": 12106,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 12145,
          "items": [],
          "name": "ReAnimal обыкновенный",
          "order": 12117,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12217,
          "items": [],
          "name": "шади",
          "order": 12145,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12218,
          "items": [],
          "name": "shady",
          "order": 12217,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12230,
          "items": [],
          "name": "faceit",
          "order": 12218,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12237,
          "items": [],
          "name": "UwU",
          "order": 12230,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12281,
          "items": [],
          "name": "12345",
          "order": 12237,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12286,
          "items": [],
          "name": "шуди",
          "order": 12281,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12287,
          "items": [],
          "name": "faseit",
          "order": 12286,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12288,
          "items": [],
          "name": "SLAVIK I PAINER",
          "order": 12287,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12303,
          "items": [],
          "name": "ДОТТа2",
          "order": 12288,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12308,
          "items": [],
          "name": "RXZUcommunityDV",
          "order": 12303,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12309,
          "items": [],
          "name": "АПЧХИ",
          "order": 12308,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12313,
          "items": [],
          "name": "тимспирит",
          "order": 12309,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12322,
          "items": [],
          "name": "стас",
          "order": 12313,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12332,
          "items": [],
          "name": "123455",
          "order": 12322,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12333,
          "items": [],
          "name": "123456",
          "order": 12332,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12335,
          "items": [],
          "name": "1234565",
          "order": 12333,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12336,
          "items": [],
          "name": "No good",
          "order": 12335,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12337,
          "items": [],
          "name": "Dima52",
          "order": 12336,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12340,
          "items": [],
          "name": "крпароаоао",
          "order": 12337,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12346,
          "items": [],
          "name": "макарлик",
          "order": 12340,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12349,
          "items": [],
          "name": "kb4n",
          "order": 12346,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12351,
          "items": [],
          "name": "Cuties",
          "order": 12349,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12352,
          "items": [],
          "name": "142124412124124124142124",
          "order": 12351,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12353,
          "items": [],
          "name": "Зуля",
          "order": 12352,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12354,
          "items": [],
          "name": "1488",
          "order": 12353,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12355,
          "items": [],
          "name": "1",
          "order": 12354,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12356,
          "items": [],
          "name": "marazm",
          "order": 12355,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12357,
          "items": [],
          "name": "124124124421",
          "order": 12356,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12358,
          "items": [],
          "name": "3222",
          "order": 12357,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12362,
          "items": [],
          "name": "k1ska",
          "order": 12358,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12363,
          "items": [],
          "name": "31231",
          "order": 12362,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12364,
          "items": [],
          "name": "яяя",
          "order": 12363,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12365,
          "items": [],
          "name": "иол",
          "order": 12364,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12366,
          "items": [],
          "name": "FAWFWAWAFAW",
          "order": 12365,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12367,
          "items": [],
          "name": "морцы",
          "order": 12366,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12368,
          "items": [],
          "name": "123",
          "order": 12367,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12370,
          "items": [],
          "name": "strogino",
          "order": 12368,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12371,
          "items": [],
          "name": "начальник",
          "order": 12370,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12372,
          "items": [],
          "name": "Night",
          "order": 12371,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12378,
          "items": [],
          "name": "14888888",
          "order": 12372,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12379,
          "items": [],
          "name": "OKAK67",
          "order": 12378,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12382,
          "items": [],
          "name": "ХУЙЛЫСЫЙ",
          "order": 12379,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12388,
          "items": [],
          "name": "12121211",
          "order": 12382,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12389,
          "items": [],
          "name": "Сиськотрясы",
          "order": 12388,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12390,
          "items": [],
          "name": "тм",
          "order": 12389,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12391,
          "items": [],
          "name": "ольга пенис",
          "order": 12390,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12392,
          "items": [],
          "name": "цуйцу",
          "order": 12391,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12393,
          "items": [],
          "name": "412142124124142",
          "order": 12392,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12394,
          "items": [],
          "name": "ftrdgfsdgdfgdfg",
          "order": 12393,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12395,
          "items": [],
          "name": "Ramzan Samsa",
          "order": 12394,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 12396,
          "items": [],
          "name": "сахалар",
          "order": 12395,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12397,
          "items": [],
          "name": "KABANIHA",
          "order": 12396,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12398,
          "items": [],
          "name": "pubg",
          "order": 12397,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12399,
          "items": [],
          "name": "cs2 team spirit",
          "order": 12398,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12400,
          "items": [],
          "name": "Tarkov",
          "order": 12399,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12401,
          "items": [],
          "name": "манмен",
          "order": 12400,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12402,
          "items": [],
          "name": "mate",
          "order": 12401,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12403,
          "items": [],
          "name": "moryakhin",
          "order": 12402,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12407,
          "items": [],
          "name": "gsd\\\\",
          "order": 12403,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 12408,
          "items": [],
          "name": "цирк",
          "order": 12407,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12409,
          "items": [],
          "name": "фцапфцфцпфцпфц",
          "order": 12408,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12410,
          "items": [],
          "name": "ts",
          "order": 12409,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12412,
          "items": [],
          "name": "123333",
          "order": 12410,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 12413,
          "items": [],
          "name": "ww999",
          "order": 12412,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12414,
          "items": [],
          "name": "Stab",
          "order": 12413,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12415,
          "items": [],
          "name": "яяяяяя",
          "order": 12414,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12417,
          "items": [],
          "name": "565345345",
          "order": 12415,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12418,
          "items": [],
          "name": "228",
          "order": 12417,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12419,
          "items": [],
          "name": "124124214124412",
          "order": 12418,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12420,
          "items": [],
          "name": "CS2",
          "order": 12419,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12421,
          "items": [],
          "name": "hdghdf",
          "order": 12420,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12422,
          "items": [],
          "name": "borda",
          "order": 12421,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12423,
          "items": [],
          "name": "Шейдиии афтемаф",
          "order": 12422,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12424,
          "items": [],
          "name": "234423243",
          "order": 12423,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12431,
          "items": [],
          "name": "asdasd",
          "order": 12424,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12434,
          "items": [],
          "name": "qqq",
          "order": 12431,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12435,
          "items": [],
          "name": "DAWDWA",
          "order": 12434,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 12436,
          "items": [],
          "name": "аыф",
          "order": 12435,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12437,
          "items": [],
          "name": "cyberivan",
          "order": 12436,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "5Q8qEmp8AC4nVcpm2tmcAhO6FY0=",
    "platform": "Windows",
    "created": 1690773325,
    "uptime": 1957420,
    "steam_id": null,
    "domain": null,
    "id": 10733937,
    "ip": "87.225.90.99",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Khabarovsk",
    "description": "**Адрес этого TS: 87.225.90.99**\n[vk.com/freedvserver](https://vk.com/freedvserver)",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777179199,
    "score": 0,
    "last_online": 1778685614,
    "icon": null,
    "name": "Free DV Server",
    "connect": "87.225.90.99:9987",
    "request": "87.225.90.99:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 24,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 89,
    "add_date": 1765927712,
    "last_update": 1778685614,
    "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": 25,
    "language": "ru",
    "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/10733937");
$data = json_decode($json, true);
var_dump($data);