प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/11490017
json
{
  "response": {
    "channels": {
      "onlinecount": 9,
      "items": [
        {
          "clients": 0,
          "id": 16,
          "items": [],
          "name": "[spacer1123]___",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "[spacer1]___",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 6,
          "items": [],
          "name": "[cspacer]Hoşgeldiniz",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "[rspacer]AFK Odası",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "[spacer2]___",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[cspacer0]ODANI BULMAK İÇİN ( CTRL + F )",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "[spacer23232]___",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "[cspacer0] GECICI - ODALAR",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 2,
          "items": [],
          "name": "[lspacer]Admin Odası",
          "order": 16,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "d1ASjWDjFWL0hZRBsXDMjZE0X5c=",
    "platform": "Linux",
    "created": 1774883644,
    "uptime": 292497,
    "steam_id": null,
    "domain": "ts3.dostlarmekani.com.tr",
    "id": 11490017,
    "ip": "141.98.50.61",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Istanbul",
    "description": "Teamspeak3 Sunucumuza Hoşgeldiniz, Keyifli Dakikalar geçirmeniz dileğiyle İyi oyunlar dileriz.\n\n\nTs3 İp Adresimiz : DostlarMekani\n[Sunucuya Bağlanmak İçin Tıkla](ts3server://dostlarmekani) DostlarMekani Teamspeak3 Server",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777508556,
    "score": 0,
    "last_online": 1777414818,
    "icon": null,
    "name": "DostlarMekani - [ ODA AC TAKIL ] Düşük Ping",
    "connect": "ts3.dostlarmekani.com.tr:9987",
    "request": "141.98.50.61:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "TR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1777136754,
    "last_update": 1777508556,
    "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": 201,
    "language": "tr",
    "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.in/servers/11490017");
$data = json_decode($json, true);
var_dump($data);