API pentru Balkan TeamSpeak3 - Powered by cHabYYY

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10824730
json
{
  "response": {
    "channels": {
      "onlinecount": 28,
      "items": [
        {
          "clients": 1,
          "id": 1,
          "items": [],
          "name": "[cspacer0]~~~~~~~~ Dobro došli ~~~~~~~~",
          "order": 0,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 457,
          "items": [],
          "name": "[*cspacer3]_",
          "order": 1,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 4,
          "items": [],
          "name": "PUBG: BATTLEGROUNDS",
          "order": 2,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 5,
          "items": [],
          "name": "Counter Strike 2",
          "order": 4,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 6,
          "items": [],
          "name": "Call of Duty 4: Modern Warfare",
          "order": 5,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 7,
          "items": [],
          "name": "Grand Theft Auto V",
          "order": 6,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 14,
          "items": [],
          "name": "[*cspacer2]_",
          "order": 7,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1354,
          "items": [],
          "name": "WWW.BELISTREAM.COM",
          "order": 9,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 11,
          "items": [],
          "name": "[cspacer3]~~~~~~~~~ Admin Room ~~~~~~~~~",
          "order": 10,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 13,
          "items": [],
          "name": "[*cspacer1]_",
          "order": 11,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 2,
          "items": [],
          "name": "World of Tanks",
          "order": 12,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 12,
          "items": [],
          "name": "[cspacer4]~~~~~~~~~~~~ Igre ~~~~~~~~~~~~",
          "order": 13,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 9,
          "items": [],
          "name": "[cspacer1]~~~~~~~~~~~ Sobe ~~~~~~~~~~~",
          "order": 14,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 32,
          "items": [],
          "name": "----",
          "order": 28,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 38,
          "items": [],
          "name": "123",
          "order": 32,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 157,
          "items": [],
          "name": "Alkoholičari",
          "order": 38,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 454,
          "items": [],
          "name": "cs2",
          "order": 157,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 455,
          "items": [],
          "name": "Kapetanovi Momci",
          "order": 454,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 541,
          "items": [],
          "name": "cod2",
          "order": 455,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 458,
          "items": [],
          "name": "[*cspacer4]_",
          "order": 456,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 456,
          "items": [],
          "name": "[cspacer5]Kontakt u slučaju pada servera",
          "order": 457,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 10,
          "items": [],
          "name": "[cspacer2]~~~~~~ SinusBot komande ~~~~~~",
          "order": 458,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 28,
          "items": [],
          "name": "bruca",
          "order": 520,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 589,
          "items": [],
          "name": "JEBACI RUMENE KADULJE",
          "order": 541,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 944,
          "items": [],
          "name": "CYPRONAC",
          "order": 589,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 1156,
          "items": [],
          "name": "DAYZ",
          "order": 944,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 1,
          "id": 1981,
          "items": [],
          "name": "Adis jebacc",
          "order": 1156,
          "parent_id": 0,
          "topic": ""
        },
        {
          "clients": 0,
          "id": 520,
          "items": [],
          "name": "Mia Khalifa",
          "order": 1354,
          "parent_id": 0,
          "topic": ""
        }
      ]
    },
    "external_id": "KNhJBa/bxCXxNfCMr5Ufd/oX3GQ=",
    "platform": "Linux",
    "created": 1645625975,
    "uptime": 20231465,
    "steam_id": null,
    "domain": null,
    "id": 10824730,
    "ip": "130.61.52.201",
    "port": 9987,
    "query": 10011,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "Ukoliko server ne radi, kontaktirajte me na (https://steamcommunity.com/id/chabyyy/) ili na Discord (chabyyy)\nDobrodošli - (http://130.61.52.201/) contact info!",
    "game": 9000043,
    "owner": null,
    "boosts": 1,
    "last_offline": 1770755499,
    "score": 0,
    "last_online": 1776898216,
    "icon": null,
    "name": "Balkan TeamSpeak3 - Powered by cHabYYY",
    "connect": "130.61.52.201:9987",
    "request": "130.61.52.201:10011",
    "map": null,
    "gamemode": null,
    "version": "3.13.7 Build: 1655727713",
    "numplayers": 2,
    "maxplayers": 32,
    "bots": 0,
    "secured": null,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 63,
    "add_date": 1767290640,
    "last_update": 1776898216,
    "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": 99,
    "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/10824730");
$data = json_decode($json, true);
var_dump($data);