Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10733937
json
{
  "response": {
    "channels": {
      "onlinecount": 94,
      "items": [
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "РЕСПА",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 176,
          "items": [],
          "name": "Комната 1",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 177,
          "items": [],
          "name": "Комната 2",
          "order": 176,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "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": 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": 12600,
          "items": [],
          "name": "Братики",
          "order": 9396,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12602,
          "items": [],
          "name": "шади",
          "order": 12600,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12604,
          "items": [],
          "name": "Night",
          "order": 12602,
          "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": 12665,
          "items": [],
          "name": "k1ska",
          "order": 12642,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12689,
          "items": [],
          "name": "Дима 52",
          "order": 12665,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12705,
          "items": [],
          "name": "vulvagang",
          "order": 12689,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12711,
          "items": [],
          "name": "nikifor+artem=ruin",
          "order": 12705,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12716,
          "items": [],
          "name": "322",
          "order": 12711,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12726,
          "items": [],
          "name": "++++++++++ЗАЛУПА ЛЯГУШКИ+++++++++++",
          "order": 12716,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12745,
          "items": [],
          "name": "Timohabot",
          "order": 12726,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12760,
          "items": [],
          "name": "вг кс",
          "order": 12745,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12765,
          "items": [],
          "name": "Sparta",
          "order": 12760,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12780,
          "items": [],
          "name": "mmmm",
          "order": 12765,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12785,
          "items": [],
          "name": "tata",
          "order": 12780,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12791,
          "items": [],
          "name": "faseit",
          "order": 12785,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12793,
          "items": [],
          "name": "UwU",
          "order": 12791,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12801,
          "items": [],
          "name": "тихонов кирилл",
          "order": 12793,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12829,
          "items": [],
          "name": "4545455",
          "order": 12801,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12834,
          "items": [],
          "name": "strogino",
          "order": 12829,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12835,
          "items": [],
          "name": "пипися майн нафиг блин",
          "order": 12834,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12837,
          "items": [],
          "name": "чикатило",
          "order": 12835,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12845,
          "items": [],
          "name": "турик с владосом папиросом",
          "order": 12837,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12846,
          "items": [],
          "name": "алололо",
          "order": 12845,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12848,
          "items": [],
          "name": "22222",
          "order": 12846,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12849,
          "items": [],
          "name": "prishla ksuha",
          "order": 12848,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12851,
          "items": [],
          "name": "3227",
          "order": 12849,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12852,
          "items": [],
          "name": "4 трупа",
          "order": 12851,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12853,
          "items": [],
          "name": "shisha",
          "order": 12852,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12854,
          "items": [],
          "name": "SOS",
          "order": 12853,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12855,
          "items": [],
          "name": "ебл",
          "order": 12854,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12856,
          "items": [],
          "name": "стас",
          "order": 12855,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12857,
          "items": [],
          "name": "val",
          "order": 12856,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12858,
          "items": [],
          "name": "MINIMUM 3 WINSTREAK",
          "order": 12857,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12859,
          "items": [],
          "name": "budem sosat` v valike",
          "order": 12858,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12861,
          "items": [],
          "name": "Nignt",
          "order": 12859,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12863,
          "items": [],
          "name": "csgo20",
          "order": 12861,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12864,
          "items": [],
          "name": "uf,ty",
          "order": 12863,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12865,
          "items": [],
          "name": "саня2",
          "order": 12864,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12866,
          "items": [],
          "name": "батла",
          "order": 12865,
          "parent_id": 0,
          "topic": "батла"
        },
        {
          "clients": 0,
          "id": 12868,
          "items": [],
          "name": "22222222222",
          "order": 12866,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12869,
          "items": [],
          "name": "пас",
          "order": 12868,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12870,
          "items": [],
          "name": "454545",
          "order": 12869,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12871,
          "items": [],
          "name": "аура",
          "order": 12870,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12872,
          "items": [],
          "name": "ya_sozdal",
          "order": 12871,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12873,
          "items": [],
          "name": "ass",
          "order": 12872,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12875,
          "items": [],
          "name": "Islandd",
          "order": 12873,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12876,
          "items": [],
          "name": "дровка пятерка",
          "order": 12875,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12877,
          "items": [],
          "name": "кулибяка",
          "order": 12876,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12879,
          "items": [],
          "name": "гниль",
          "order": 12877,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12880,
          "items": [],
          "name": "Ауф",
          "order": 12879,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12881,
          "items": [],
          "name": "Кейн0001",
          "order": 12880,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12882,
          "items": [],
          "name": "ww99",
          "order": 12881,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12884,
          "items": [],
          "name": "pis",
          "order": 12882,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12885,
          "items": [],
          "name": "csgo2",
          "order": 12884,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12886,
          "items": [],
          "name": "123123",
          "order": 12885,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12887,
          "items": [],
          "name": "124124124124",
          "order": 12886,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12888,
          "items": [],
          "name": "123",
          "order": 12887,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12889,
          "items": [],
          "name": "cies",
          "order": 12888,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12890,
          "items": [],
          "name": "1337",
          "order": 12889,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 12891,
          "items": [],
          "name": "intalent",
          "order": 12890,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12892,
          "items": [],
          "name": "strogo",
          "order": 12891,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12893,
          "items": [],
          "name": "TEQUILA",
          "order": 12892,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12894,
          "items": [],
          "name": "124214241214124124142124",
          "order": 12893,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12896,
          "items": [],
          "name": "я дома",
          "order": 12894,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12897,
          "items": [],
          "name": "Zoxers",
          "order": 12896,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12898,
          "items": [],
          "name": "SHISHA",
          "order": 12897,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12899,
          "items": [],
          "name": "dsfdsf",
          "order": 12898,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12900,
          "items": [],
          "name": "камила гей",
          "order": 12899,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12901,
          "items": [],
          "name": "ыфы",
          "order": 12900,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12902,
          "items": [],
          "name": "1232131",
          "order": 12901,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12903,
          "items": [],
          "name": "12345",
          "order": 12902,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12904,
          "items": [],
          "name": "qqq",
          "order": 12903,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "5Q8qEmp8AC4nVcpm2tmcAhO6FY0=",
    "platform": "Windows",
    "created": 1690773325,
    "uptime": 1220604,
    "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,
    "last_online": 1780456223,
    "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": 4,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 68,
    "add_date": 1765927712,
    "last_update": 1780456223,
    "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": 51,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10733937");
$data = json_decode($json, true);
var_dump($data);