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

text
https://api.gamemonitoring.ru/servers/10733937
json
{
  "response": {
    "channels": {
      "onlinecount": 90,
      "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": 1,
          "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": 0,
          "id": 180,
          "items": [],
          "name": "Комната 5",
          "order": 179,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "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": 3,
          "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": 12604,
          "items": [],
          "name": "Night",
          "order": 9396,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12607,
          "items": [],
          "name": "aboba",
          "order": 12604,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12612,
          "items": [],
          "name": "АААААААААААААААААААААААААААААААААААААААА",
          "order": 12607,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12617,
          "items": [],
          "name": "______кубик",
          "order": 12612,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12619,
          "items": [],
          "name": "RXZUAIMER",
          "order": 12617,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12623,
          "items": [],
          "name": "Сиськи Дулина",
          "order": 12619,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12627,
          "items": [],
          "name": "o4ko",
          "order": 12623,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12642,
          "items": [],
          "name": "Зуля тащер!!!",
          "order": 12627,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12689,
          "items": [],
          "name": "Дима 52",
          "order": 12642,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12793,
          "items": [],
          "name": "UwU",
          "order": 12689,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12835,
          "items": [],
          "name": "пипися майн нафиг блин",
          "order": 12793,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12897,
          "items": [],
          "name": "Zoxers",
          "order": 12835,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12911,
          "items": [],
          "name": "Братики",
          "order": 12897,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12923,
          "items": [],
          "name": "555",
          "order": 12911,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12925,
          "items": [],
          "name": "Цивап",
          "order": 12923,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12946,
          "items": [],
          "name": "PUBG",
          "order": 12925,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12953,
          "items": [],
          "name": "вг",
          "order": 12946,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12955,
          "items": [],
          "name": "TITLE",
          "order": 12953,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12962,
          "items": [],
          "name": "сюдасануче123",
          "order": 12955,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12963,
          "items": [],
          "name": "121212",
          "order": 12962,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12966,
          "items": [],
          "name": "321",
          "order": 12963,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12970,
          "items": [],
          "name": "30тирдб",
          "order": 12966,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12971,
          "items": [],
          "name": "чепуха",
          "order": 12970,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12972,
          "items": [],
          "name": "хрюкаю в присяд",
          "order": 12971,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12973,
          "items": [],
          "name": "322",
          "order": 12972,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12974,
          "items": [],
          "name": "Чулан",
          "order": 12973,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12975,
          "items": [],
          "name": "123123",
          "order": 12974,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12976,
          "items": [],
          "name": "45454545454545",
          "order": 12975,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12977,
          "items": [],
          "name": "strogino",
          "order": 12976,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12978,
          "items": [],
          "name": "шиша шаша шиши",
          "order": 12977,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12979,
          "items": [],
          "name": "VALYA VIZIVAI TAXI",
          "order": 12978,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12980,
          "items": [],
          "name": "РОМАН РЕПЕТИТОР",
          "order": 12979,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12981,
          "items": [],
          "name": "VALYA",
          "order": 12980,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12982,
          "items": [],
          "name": "МИкси",
          "order": 12981,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12983,
          "items": [],
          "name": "pis",
          "order": 12982,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12984,
          "items": [],
          "name": "YUKAMOTA",
          "order": 12983,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12985,
          "items": [],
          "name": "ТАРКОВ",
          "order": 12984,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12988,
          "items": [],
          "name": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ",
          "order": 12985,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12990,
          "items": [],
          "name": "морцы",
          "order": 12988,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12991,
          "items": [],
          "name": "sosal?",
          "order": 12990,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12992,
          "items": [],
          "name": "sxll",
          "order": 12991,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12993,
          "items": [],
          "name": "САНЧОПАНЗ В ЖОПУ НЕ ДАСТ",
          "order": 12992,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12994,
          "items": [],
          "name": "адун",
          "order": 12993,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12995,
          "items": [],
          "name": "з",
          "order": 12994,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12996,
          "items": [],
          "name": "008",
          "order": 12995,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12997,
          "items": [],
          "name": "готс",
          "order": 12996,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12998,
          "items": [],
          "name": "Jopki Pis'ki",
          "order": 12997,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13000,
          "items": [],
          "name": "pip",
          "order": 12998,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13001,
          "items": [],
          "name": "Soska",
          "order": 13000,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13002,
          "items": [],
          "name": "Йоу",
          "order": 13001,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13003,
          "items": [],
          "name": "23423",
          "order": 13002,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13004,
          "items": [],
          "name": "Pitak",
          "order": 13003,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13005,
          "items": [],
          "name": "ВИКИНГИ",
          "order": 13004,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13006,
          "items": [],
          "name": "бит шатает голову",
          "order": 13005,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13007,
          "items": [],
          "name": "блядство",
          "order": 13006,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13008,
          "items": [],
          "name": "dexter6666",
          "order": 13007,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13009,
          "items": [],
          "name": "popa",
          "order": 13008,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13010,
          "items": [],
          "name": "вфывф",
          "order": 13009,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13011,
          "items": [],
          "name": "ГАЧА",
          "order": 13010,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13013,
          "items": [],
          "name": "2223123",
          "order": 13011,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13014,
          "items": [],
          "name": "Aleksei TTan",
          "order": 13013,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13015,
          "items": [],
          "name": "смешно",
          "order": 13014,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13016,
          "items": [],
          "name": "123",
          "order": 13015,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13017,
          "items": [],
          "name": "арженка",
          "order": 13016,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13018,
          "items": [],
          "name": "тык",
          "order": 13017,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13019,
          "items": [],
          "name": "КлимыМикси",
          "order": 13018,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13020,
          "items": [],
          "name": "235325",
          "order": 13019,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13022,
          "items": [],
          "name": "<3",
          "order": 13020,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13023,
          "items": [],
          "name": "provodil?",
          "order": 13022,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13025,
          "items": [],
          "name": "csgo20",
          "order": 13023,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13026,
          "items": [],
          "name": "vulvagang",
          "order": 13025,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13029,
          "items": [],
          "name": "12121212121221",
          "order": 13026,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 13030,
          "items": [],
          "name": "124124124124124",
          "order": 13029,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13031,
          "items": [],
          "name": "я ем банан",
          "order": 13030,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 13032,
          "items": [],
          "name": "4251",
          "order": 13031,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "5Q8qEmp8AC4nVcpm2tmcAhO6FY0=",
    "platform": "Windows",
    "created": 1690773325,
    "uptime": 1764200,
    "steam_id": null,
    "domain": null,
    "id": 10733937,
    "ip": "87.225.90.99",
    "port": 9987,
    "query": 9987,
    "project_id": null,
    "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,
    "last_online": 1780999819,
    "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": 13,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 79,
    "add_date": 1765927712,
    "last_update": 1780999819,
    "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": "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);