Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11602636
json
{
  "response": {
    "channels": {
      "onlinecount": 31,
      "items": [
        {
          "clients": -1,
          "id": 2,
          "items": [],
          "name": "[*spacer]___",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "☰ PROGAMERZ YÖNETİM ®",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 4,
          "items": [],
          "name": "☰ PROGAMERZ GAMİNG ®",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 62,
          "items": [],
          "name": "☰ PROGAMERZ GAMİNG #2 ®",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 6,
          "items": [],
          "name": "[*spacerPROGAMERZ]___",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 7,
          "items": [],
          "name": "[cspacer]- ↓ Kalıcı Odalar ↓ -",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 8,
          "items": [],
          "name": "ghetto",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "zzzzz",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "ali",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "Batalla17",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 95,
          "items": [],
          "name": "21",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 132,
          "items": [],
          "name": "[cspacer]🌐 www.progamerz.org 🌐",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 14,
          "items": [],
          "name": "❱❱ # AFK [Görünmez]",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 15,
          "items": [],
          "name": "[*spacerPROGAMERZgf]___",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 120,
          "items": [],
          "name": "[cspacer]- ↓ Faceit Odaları ↓ -",
          "order": 15,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 17,
          "items": [],
          "name": "[cspacer]Geçici Odalar",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 257,
          "items": [],
          "name": "halilişko",
          "order": 17,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5,
          "items": [],
          "name": "☰ PROGAMERZ AFK ®",
          "order": 62,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 229,
          "items": [],
          "name": "hamdi",
          "order": 94,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 94,
          "items": [],
          "name": "ysfbt",
          "order": 95,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 16,
          "items": [],
          "name": "[cspacer]Can't find your channel? CTRL+F",
          "order": 119,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 121,
          "items": [],
          "name": "☰ Faceit Lobby (1) #Max.5",
          "order": 120,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 122,
          "items": [],
          "name": "☰ Faceit Lobby (2) #Max.5",
          "order": 121,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 123,
          "items": [],
          "name": "☰ Faceit Lobby (3) #Max.5",
          "order": 122,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 124,
          "items": [],
          "name": "☰ Faceit Lobby (4) #Max.5",
          "order": 123,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 125,
          "items": [],
          "name": "☰ Faceit Lobby (5) #Max.5",
          "order": 124,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 119,
          "items": [],
          "name": "[*spacerPROGAMERZgff]___",
          "order": 125,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 4,
          "id": 13,
          "items": [],
          "name": "❱❱ # Lobby [ts3.progamerz.org]",
          "order": 132,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 12,
          "items": [],
          "name": "[*spacerPROGAMERZf]___",
          "order": 229,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 3,
          "id": 258,
          "items": [],
          "name": "gs",
          "order": 257,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 259,
          "items": [],
          "name": "11111111",
          "order": 258,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "Gds4RwTdXVECkCi/tamx2Lx1jJM=",
    "platform": "Linux",
    "created": 1777914949,
    "uptime": 102304,
    "steam_id": null,
    "domain": "ts3.progamerz.org",
    "id": 11602636,
    "ip": "146.103.26.115",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Istanbul",
    "description": "**━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━**\n**★ WELCOME TO PROGAMERZ COMMUNITY ★**\n**━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━**\n\nHello **%nickname%**,\n\nWelcome to **PROGAMERZ**!\n\nWe are a gaming community focused on bringing players together for:\n► Counter-Strike 2 (CS2)\n► FACEIT\n► Counter-Strike 1.6\n► VALORANT\n\n**Before you start:**\n✓ Read the server rules\n✓ Respect all members\n✓ Use the appropriate channels\n✓ Have fun and enjoy your stay\n\n**Looking for teammates?**\nJoin one of our public channels and start playing with the community.\n\n**PLAY TOGETHER • IMPROVE TOGETHER • WIN TOGETHER**",
    "game": 9000043,
    "owner": 195775,
    "boosts": 1,
    "last_offline": 1780324401,
    "last_online": 1780426816,
    "icon": null,
    "name": "[ ODA AÇ TAKIL! ] 🔥 PROGAMERZ COMMUNİTY®",
    "connect": "ts3.progamerz.org:9987",
    "request": "146.103.26.115:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 17,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "TR",
    "status": true,
    "votes": 1,
    "points": 111,
    "add_date": 1779382226,
    "last_update": 1780426816,
    "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": 10,
    "language": "tr",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": {
      "username": "fatih_or",
      "avatar": "d124e808-0d8d-4785-a684-d5e33e6a5160.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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