API pentru TEAMSPEAK.BA & TS3.BA Gaming & Voice Community

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11492256
json
{
  "response": {
    "channels": {
      "onlinecount": 64,
      "items": [
        {
          "clients": 0,
          "id": 37,
          "items": [],
          "name": "[*spacer20]-..",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5633,
          "items": [],
          "name": "[spacer0][ TS3.BA ] - Need Help?",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5533,
          "items": [],
          "name": "[*spacer12]-..",
          "order": 3,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 28,
          "items": [],
          "name": "[cspacer0]📜 SERVER RULES 📜",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[*spacer1]-..",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 8,
          "items": [],
          "name": "[cspacer0]★☆★ PRIVATE CHANNEL ★☆★",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 189,
          "items": [],
          "name": "[*spacer8]-..",
          "order": 8,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 1,
          "items": [],
          "name": "[spacer0][ TS3.BA ] - Home Channel",
          "order": 9,
          "parent_id": 0,
          "topic": "Default Channel has no topic"
        },
        {
          "clients": -1,
          "id": 27,
          "items": [],
          "name": "[*spacer4]-..",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 33,
          "items": [],
          "name": "[cspacer0]★☆★ TEMPORARY CHANNEL ★☆★",
          "order": 20,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5591,
          "items": [],
          "name": "[cspacer0]╔═══════════════════════════╗",
          "order": 27,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 29,
          "items": [],
          "name": "[cspacer]ADMINISTRATION LIST",
          "order": 28,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 30,
          "items": [],
          "name": "[cspacer0]Online Clients:: 8",
          "order": 29,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 31,
          "items": [],
          "name": "[cspacer0]Clients Record: 67",
          "order": 30,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "[cspacer1]╚═══════════════════════════╝",
          "order": 31,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5706,
          "items": [],
          "name": "sf",
          "order": 32,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 32,
          "items": [],
          "name": "[*spacer5]-..",
          "order": 33,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 3,
          "items": [],
          "name": "[spacer0][ TS3.BA ] - AwayFromKeyboard",
          "order": 36,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": -1,
          "id": 10,
          "items": [],
          "name": "[rspacer0]♥",
          "order": 37,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 57,
          "items": [],
          "name": "Doca",
          "order": 54,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1034,
          "items": [],
          "name": "Doca 5v5",
          "order": 57,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 115,
          "items": [],
          "name": "G-ROOM",
          "order": 93,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 119,
          "items": [],
          "name": "CS2",
          "order": 115,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 139,
          "items": [],
          "name": "l3ka",
          "order": 119,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 583,
          "items": [],
          "name": "fng",
          "order": 139,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5699,
          "items": [],
          "name": "LooD@k",
          "order": 189,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1380,
          "items": [],
          "name": "🔞 RageMP BS-RP🔞",
          "order": 583,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1285,
          "items": [],
          "name": "KERA",
          "order": 1034,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1647,
          "items": [],
          "name": "Deranche",
          "order": 1285,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2733,
          "items": [],
          "name": "themarke",
          "order": 1380,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2350,
          "items": [],
          "name": "Jovara",
          "order": 1647,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 93,
          "items": [
            {
              "clients": 0,
              "id": 1951,
              "items": [],
              "name": "Ekipica",
              "order": 0,
              "parent_id": 93,
              "topic": ""
            }
          ],
          "name": "gospini korac",
          "order": 2350,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4759,
          "items": [],
          "name": "aaaaaaaaa",
          "order": 2733,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5293,
          "items": [],
          "name": "PODGORICA",
          "order": 4759,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5565,
          "items": [],
          "name": "Ajdin_05",
          "order": 5293,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5534,
          "items": [],
          "name": "[cspacer0]★☆★ COMMUNITY SERVERS ★☆★",
          "order": 5533,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5548,
          "items": [],
          "name": "[*spacer15]-..",
          "order": 5534,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5542,
          "items": [],
          "name": "[cspacer0]178.32.255.68:27015",
          "order": 5535,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5537,
          "items": [],
          "name": "[ CS 1.6 ] - TT",
          "order": 5536,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5544,
          "items": [],
          "name": "[*spacer13]-..",
          "order": 5537,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5543,
          "items": [],
          "name": "[cspacer0]cs2.teamspeak.ba",
          "order": 5538,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5540,
          "items": [],
          "name": "[ CS 2 ] - TT",
          "order": 5539,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5547,
          "items": [],
          "name": "[*spacer14]-..",
          "order": 5540,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "[*spacer0]-..",
          "order": 5541,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5545,
          "items": [],
          "name": "[ CS 1.6 ] - ADMIN",
          "order": 5542,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5546,
          "items": [],
          "name": "[ CS 2 ] - ADMIN",
          "order": 5543,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5538,
          "items": [],
          "name": "[cspacer0]CS2",
          "order": 5544,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5536,
          "items": [],
          "name": "[ CS 1.6 ] - CT",
          "order": 5545,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5539,
          "items": [],
          "name": "[ CS 2 ] - CT",
          "order": 5546,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5541,
          "items": [],
          "name": "[cspacer0]MINECRAFT",
          "order": 5547,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5535,
          "items": [],
          "name": "[cspacer0]CS 1.6 Public",
          "order": 5548,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 20,
          "items": [],
          "name": "[*spacer2]-..",
          "order": 5565,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5593,
          "items": [],
          "name": "[cspacer0]TEAMSPEAK.BA",
          "order": 5591,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4,
          "items": [],
          "name": "[cspacer1]╔═══════════════════════════╗",
          "order": 5592,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5594,
          "items": [],
          "name": "[cspacer0]RANK.TEAMSPEAK.BA",
          "order": 5593,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5595,
          "items": [],
          "name": "[cspacer0]FORUM.TEAMSPEAK.BA",
          "order": 5594,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5592,
          "items": [],
          "name": "[cspacer0]╚═══════════════════════════╝",
          "order": 5595,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 2,
          "id": 36,
          "items": [],
          "name": "[spacer0][ TS3.BA ] - MusicBot",
          "order": 5596,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5596,
          "items": [],
          "name": "[spacer0][ TS3.BA ] - RankSystem",
          "order": 5633,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 54,
          "items": [],
          "name": "No Name",
          "order": 5699,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5707,
          "items": [],
          "name": "SFSF",
          "order": 5706,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5710,
          "items": [],
          "name": "sfbl",
          "order": 5707,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 5711,
          "items": [],
          "name": "aeaeaeaea",
          "order": 5710,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "RBiyiDAoZJlsq37enHWai9HBAaI=",
    "platform": "Linux",
    "created": 1753541075,
    "uptime": 216447,
    "steam_id": null,
    "domain": null,
    "id": 11492256,
    "ip": "5.83.136.16",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": null,
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778469734,
    "score": 0,
    "last_online": 1778686234,
    "icon": null,
    "name": "TEAMSPEAK.BA & TS3.BA Gaming & Voice Community",
    "connect": "5.83.136.16:9987",
    "request": "5.83.136.16:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 11,
    "maxplayers": 100,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 36,
    "add_date": 1778348928,
    "last_update": 1778686234,
    "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": 147,
    "language": "de",
    "parked": false,
    "app": {
      "id": 1629110,
      "steam_id": 9000043,
      "name": "Teamspeak 3",
      "url": "teamspeak-3"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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