Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/10733922
json
{
  "response": {
    "channels": {
      "onlinecount": 92,
      "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": 2,
          "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": 2,
          "id": 1289,
          "items": [],
          "name": "Комната 6",
          "order": 180,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1290,
          "items": [],
          "name": "Комната 7",
          "order": 1289,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1291,
          "items": [],
          "name": "Комната 8",
          "order": 1290,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1292,
          "items": [],
          "name": "Комната 9",
          "order": 1291,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1293,
          "items": [],
          "name": "Комната 10",
          "order": 1292,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5748,
          "items": [],
          "name": "попа",
          "order": 1293,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5754,
          "items": [],
          "name": "cs",
          "order": 5748,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5756,
          "items": [],
          "name": "гога",
          "order": 5754,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5761,
          "items": [],
          "name": "сысысысысысысысысысысы",
          "order": 5756,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5763,
          "items": [],
          "name": "RMRP 66666666666666666666666666666666666",
          "order": 5761,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5774,
          "items": [],
          "name": "ОКАК",
          "order": 5763,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5775,
          "items": [],
          "name": "LOBNYA ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^#@!",
          "order": 5774,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5777,
          "items": [],
          "name": "Тарков",
          "order": 5775,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 5796,
          "items": [],
          "name": "Танки",
          "order": 5777,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5798,
          "items": [],
          "name": "ЛЕХА ПИВО",
          "order": 5796,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5801,
          "items": [],
          "name": "Wot 4",
          "order": 5798,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5807,
          "items": [],
          "name": "каэсочка",
          "order": 5801,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5827,
          "items": [],
          "name": "434343",
          "order": 5807,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5855,
          "items": [],
          "name": "СЫновья любимые",
          "order": 5827,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5916,
          "items": [],
          "name": "123",
          "order": 5855,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 5919,
          "items": [],
          "name": "PUBG",
          "order": 5916,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5951,
          "items": [],
          "name": "ub1ch",
          "order": 5919,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5952,
          "items": [],
          "name": "faceit1666elo",
          "order": 5951,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5956,
          "items": [],
          "name": "1",
          "order": 5952,
          "parent_id": 0,
          "topic": "111robin"
        },
        {
          "clients": 0,
          "id": 5958,
          "items": [],
          "name": "rust22",
          "order": 5956,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5971,
          "items": [],
          "name": "КОЛБАСЕНКОО",
          "order": 5958,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5975,
          "items": [],
          "name": "faceit1777elo",
          "order": 5971,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5982,
          "items": [],
          "name": "пися",
          "order": 5975,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5989,
          "items": [],
          "name": "abracadabra",
          "order": 5982,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5991,
          "items": [],
          "name": "варик",
          "order": 5989,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5992,
          "items": [],
          "name": "Dreamteam",
          "order": 5991,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6001,
          "items": [],
          "name": "svo",
          "order": 5992,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6002,
          "items": [],
          "name": "7168",
          "order": 6001,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6004,
          "items": [],
          "name": "123123123",
          "order": 6002,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6005,
          "items": [],
          "name": "НУ ТЫ БОМ-БОМ",
          "order": 6004,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6007,
          "items": [],
          "name": "563",
          "order": 6005,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6009,
          "items": [],
          "name": "Hunt: Showdown 1896",
          "order": 6007,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6010,
          "items": [],
          "name": "майнкрафт на 100%",
          "order": 6009,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6011,
          "items": [],
          "name": "321",
          "order": 6010,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6013,
          "items": [],
          "name": "хуйсобачий",
          "order": 6011,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6014,
          "items": [],
          "name": "12345678",
          "order": 6013,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6015,
          "items": [],
          "name": "676767",
          "order": 6014,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6016,
          "items": [],
          "name": "Vancho",
          "order": 6015,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6017,
          "items": [],
          "name": "+++++++++ЗАЛУПА=+++++++ПУПА+++++++++++++",
          "order": 6016,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6018,
          "items": [],
          "name": "marki",
          "order": 6017,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6019,
          "items": [],
          "name": "Makarluk",
          "order": 6018,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6021,
          "items": [],
          "name": "111333",
          "order": 6019,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6022,
          "items": [],
          "name": "темки",
          "order": 6021,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6023,
          "items": [],
          "name": "EqwaChaki",
          "order": 6022,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6024,
          "items": [],
          "name": "1111",
          "order": 6023,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6026,
          "items": [],
          "name": "shady",
          "order": 6024,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6027,
          "items": [],
          "name": "Пошёл процесс",
          "order": 6026,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6028,
          "items": [],
          "name": "суета",
          "order": 6027,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6029,
          "items": [],
          "name": "Makar.il",
          "order": 6028,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6031,
          "items": [],
          "name": "папапкпк",
          "order": 6029,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6032,
          "items": [],
          "name": "саня -",
          "order": 6031,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6034,
          "items": [],
          "name": "sakha",
          "order": 6032,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6043,
          "items": [],
          "name": "мяя",
          "order": 6034,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6046,
          "items": [],
          "name": "Makarlik",
          "order": 6043,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6047,
          "items": [],
          "name": "я не грустный, отвечаю",
          "order": 6046,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6048,
          "items": [],
          "name": "1XMAX",
          "order": 6047,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6049,
          "items": [],
          "name": "92",
          "order": 6048,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 6050,
          "items": [],
          "name": "SHADY",
          "order": 6049,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6051,
          "items": [],
          "name": "00",
          "order": 6050,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6052,
          "items": [],
          "name": "влад+ден)",
          "order": 6051,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6053,
          "items": [],
          "name": "67",
          "order": 6052,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6054,
          "items": [],
          "name": "6738",
          "order": 6053,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6055,
          "items": [],
          "name": "БАРОН",
          "order": 6054,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6056,
          "items": [],
          "name": "ДАнил",
          "order": 6055,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6057,
          "items": [],
          "name": "1231231",
          "order": 6056,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6058,
          "items": [],
          "name": "1231123",
          "order": 6057,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6060,
          "items": [],
          "name": "Makarl",
          "order": 6058,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6061,
          "items": [],
          "name": "лшоьваы",
          "order": 6060,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6062,
          "items": [],
          "name": "северсталь",
          "order": 6061,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6063,
          "items": [],
          "name": "tmp",
          "order": 6062,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6064,
          "items": [],
          "name": "eqwachaki",
          "order": 6063,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6065,
          "items": [],
          "name": "1111111111",
          "order": 6064,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6066,
          "items": [],
          "name": "123456",
          "order": 6065,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6067,
          "items": [],
          "name": "вфывфыв",
          "order": 6066,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6068,
          "items": [],
          "name": "112233",
          "order": 6067,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 6069,
          "items": [],
          "name": "Makar4ik",
          "order": 6068,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6070,
          "items": [],
          "name": "Vladivostok",
          "order": 6069,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 6071,
          "items": [],
          "name": "124124",
          "order": 6070,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 6073,
          "items": [],
          "name": "zalupa",
          "order": 6071,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 6074,
          "items": [],
          "name": "112121",
          "order": 6073,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6075,
          "items": [],
          "name": "выффвы",
          "order": 6074,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "5Q8qEmp8AC4nVcpm2tmcAhO6FY0=",
    "platform": "Windows",
    "created": 1690773325,
    "uptime": 1243876,
    "steam_id": null,
    "domain": null,
    "id": 10733922,
    "ip": "62.249.138.67",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Sovetskaya Gavan'",
    "description": "**Адрес этого TS: 62.249.138.67**\n[vk.com/freedvserver](https://vk.com/freedvserver)",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776211317,
    "score": 0,
    "last_online": 1776355214,
    "icon": null,
    "name": "Free DV Server",
    "connect": "62.249.138.67:9987",
    "request": "62.249.138.67:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 29,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 93,
    "add_date": 1765927520,
    "last_update": 1776355214,
    "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": 19,
    "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/10733922");
$data = json_decode($json, true);
var_dump($data);