Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11142864
json
{
  "response": {
    "channels": {
      "onlinecount": 42,
      "items": [
        {
          "clients": -1,
          "id": 22378,
          "items": [],
          "name": "[*spacer0]___",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 22379,
          "items": [],
          "name": "Yönetim Odası",
          "order": 22378,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22380,
          "items": [],
          "name": "Yayın Odası - Twitch.tv/TeknikOyuncular",
          "order": 22379,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22381,
          "items": [],
          "name": "çilekli lolipoop",
          "order": 22380,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22382,
          "items": [],
          "name": "Yalnızlar Odası",
          "order": 22381,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22383,
          "items": [],
          "name": "Belgesel Odası (İnsan)",
          "order": 22382,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22384,
          "items": [],
          "name": "Satıcı Odası",
          "order": 22383,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22385,
          "items": [],
          "name": "English Pratice Room",
          "order": 22384,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22386,
          "items": [],
          "name": "Çekme Odası (Kürek)",
          "order": 22385,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 22387,
          "items": [],
          "name": "Musiki Odası (Yerli)",
          "order": 22386,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 22388,
          "items": [],
          "name": "Müzik Odası (Yabancı)",
          "order": 22387,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22389,
          "items": [],
          "name": "Teknik.Disk",
          "order": 22388,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22390,
          "items": [],
          "name": "[cspacer2][A]way [F]rom [K]eyboard",
          "order": 22389,
          "parent_id": 0,
          "topic": "oguzmedia afk ozel "
        },
        {
          "clients": 0,
          "id": 22391,
          "items": [],
          "name": "[*spacer1]___",
          "order": 22390,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22392,
          "items": [
            {
              "clients": 0,
              "id": 22393,
              "items": [],
              "name": "-\\p Assetto Corsa / F1 25",
              "order": 0,
              "parent_id": 22392,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22394,
              "items": [],
              "name": "-\\p Grand Theft Auto V",
              "order": 22393,
              "parent_id": 22392,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22395,
              "items": [],
              "name": "-\\p Counter-Strike 2",
              "order": 22394,
              "parent_id": 22392,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22396,
              "items": [],
              "name": "-\\p Euro Truck Simulator 2",
              "order": 22395,
              "parent_id": 22392,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22397,
              "items": [],
              "name": "-\\p RUST - PUBG",
              "order": 22396,
              "parent_id": 22392,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22398,
              "items": [],
              "name": "-\\p FC 26",
              "order": 22397,
              "parent_id": 22392,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22399,
              "items": [],
              "name": "-\\p League of Legends",
              "order": 22398,
              "parent_id": 22392,
              "topic": ""
            }
          ],
          "name": "[cspacer3]• Oyun Odaları •",
          "order": 22391,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22400,
          "items": [
            {
              "clients": 0,
              "id": 22401,
              "items": [],
              "name": "YoungCrew",
              "order": 0,
              "parent_id": 22400,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22403,
              "items": [],
              "name": "CousinS",
              "order": 22401,
              "parent_id": 22400,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22404,
              "items": [],
              "name": "LSST",
              "order": 22403,
              "parent_id": 22400,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 22405,
              "items": [],
              "name": "S2Ş",
              "order": 22404,
              "parent_id": 22400,
              "topic": ""
            },
            {
              "clients": 2,
              "id": 22406,
              "items": [],
              "name": "WMTB",
              "order": 22405,
              "parent_id": 22400,
              "topic": ""
            },
            {
              "clients": 0,
              "id": 28111,
              "items": [],
              "name": "exca",
              "order": 22406,
              "parent_id": 22400,
              "topic": ""
            },
            {
              "clients": 3,
              "id": 28820,
              "items": [],
              "name": "ANATOLIA",
              "order": 28111,
              "parent_id": 22400,
              "topic": ""
            }
          ],
          "name": "[cspacer9]• Kalıcı Odalar •",
          "order": 22392,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22407,
          "items": [],
          "name": "[*spacer2]___",
          "order": 22400,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22408,
          "items": [],
          "name": "[cspacer4]Bağlantı Adresleri",
          "order": 22407,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 22409,
          "items": [],
          "name": "[cspacer0]LOBİ",
          "order": 22408,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22410,
          "items": [],
          "name": "[*spacer3]___",
          "order": 22409,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22411,
          "items": [],
          "name": "[cspacer6]• S.S.S. • Kurallar/Bilgiler •",
          "order": 22410,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22412,
          "items": [],
          "name": "[*spacer4]___",
          "order": 22411,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 22413,
          "items": [],
          "name": "[cspacer8]• Oyuncu Odaları •",
          "order": 22412,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 40256,
          "items": [],
          "name": "bdüzü",
          "order": 22413,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 40260,
          "items": [],
          "name": "ılgımın kanalı",
          "order": 40256,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 40265,
          "items": [],
          "name": "KKK",
          "order": 40260,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 40267,
          "items": [],
          "name": "2",
          "order": 40265,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 40268,
          "items": [],
          "name": "nooneisgonnaexpecthis",
          "order": 40267,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "0H3h3tjJ09PQDj2VMwzCMT7J3bo=",
    "platform": "Windows",
    "created": 1513892482,
    "uptime": 754406,
    "steam_id": null,
    "domain": null,
    "id": 11142864,
    "ip": "194.113.226.140",
    "port": 9987,
    "query": 9987,
    "color": 0,
    "city": "Istanbul",
    "description": "**[TeknikOyun.com](https://teknikoyun.com) sitesinin sesli sunucusuna Hoşgeldiniz !\n                          \n                          Soru ve görüşleriniz için: (client://0/coEaY/dADP7EdA9G2neouFpoY2k=) / admin @ teknikoyun.com\n                          \n                          Keyifli iletişimler, iyi oyunlar dileriz =)**\n**IP adresi yerine, aşağıdaki adreslerden biriyle sunucuya bağlanabilirsin; \n                          oyun - türk - teknikoyun - teknikoyuncular - ts3.teknikoyun.com**",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776122515,
    "score": 0,
    "last_online": 1776349219,
    "icon": null,
    "name": "Teknik Oyuncular",
    "connect": "194.113.226.140:9987",
    "request": "194.113.226.140:9987",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 13,
    "maxplayers": 128,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1770933677,
    "last_update": 1776349219,
    "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": 59,
    "language": "tr",
    "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/11142864");
$data = json_decode($json, true);
var_dump($data);