Teamspeak 3
API для -=[-T--]=- Deutsche Terrorkom
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11142886json
{
"response": {
"channels": {
"onlinecount": 58,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "Eingangshalle",
"order": 0,
"parent_id": 0,
"topic": "Have fun! :)"
},
{
"clients": 0,
"id": 2,
"items": [],
"name": "Stammkneipe",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 3,
"items": [],
"name": "DJ on AIR",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 4,
"items": [
{
"clients": 0,
"id": 15581,
"items": [],
"name": "Apex Legends",
"order": 0,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 7,
"items": [],
"name": "Call of Duty",
"order": 6,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 8,
"items": [],
"name": "Counter-Strike",
"order": 7,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 6599,
"items": [],
"name": "Counter-Strike: Global Offensive",
"order": 8,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 1464,
"items": [],
"name": "League of Legends",
"order": 12,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 14,
"items": [],
"name": "World of Warcraft",
"order": 426,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 11117,
"items": [],
"name": "Playerunknown’s Battlegrounds",
"order": 816,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 816,
"items": [],
"name": "Minecraft",
"order": 1464,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 12,
"items": [],
"name": "Garry's Mod",
"order": 6599,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 6,
"items": [],
"name": "Battlefield",
"order": 6828,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 426,
"items": [],
"name": "Starcraft 2",
"order": 6838,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 6838,
"items": [],
"name": "Rocket League",
"order": 11117,
"parent_id": 4,
"topic": ""
},
{
"clients": 0,
"id": 6828,
"items": [],
"name": "Arma III",
"order": 15581,
"parent_id": 4,
"topic": ""
}
],
"name": "++ Zocker Channel ++",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 15,
"items": [
{
"clients": 0,
"id": 16,
"items": [],
"name": "+ Blau +",
"order": 0,
"parent_id": 15,
"topic": ""
},
{
"clients": 0,
"id": 17,
"items": [],
"name": "+ Rot +",
"order": 16,
"parent_id": 15,
"topic": ""
}
],
"name": "++ Gatherbereich ++",
"order": 4,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 21,
"items": [
{
"clients": 0,
"id": 23,
"items": [],
"name": "\\p=- Eslwar -=\\p",
"order": 0,
"parent_id": 21,
"topic": ""
},
{
"clients": 0,
"id": 26,
"items": [],
"name": "\\p=- Ruhe -=\\p",
"order": 22,
"parent_id": 21,
"topic": ""
},
{
"clients": 0,
"id": 24,
"items": [],
"name": "\\p=- Labern -=\\p",
"order": 23,
"parent_id": 21,
"topic": ""
},
{
"clients": 0,
"id": 25,
"items": [],
"name": "\\p=- Public -=\\p",
"order": 24,
"parent_id": 21,
"topic": ""
},
{
"clients": 0,
"id": 22,
"items": [],
"name": "\\p=- Clanwar -=\\p",
"order": 25,
"parent_id": 21,
"topic": ""
},
{
"clients": -1,
"id": 1355,
"items": [],
"name": "\\p=- Nicht stören -=\\p",
"order": 26,
"parent_id": 21,
"topic": ""
}
],
"name": "+++ CLAN-Intern +++",
"order": 15,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 27,
"items": [],
"name": "AFK",
"order": 21,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 9324,
"items": [],
"name": "[cspacer1]------- User Channel -------",
"order": 27,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 7816,
"items": [],
"name": "• tRIX´s GamerEcke •",
"order": 28,
"parent_id": 0,
"topic": "GeilerZock"
},
{
"clients": 0,
"id": 28,
"items": [
{
"clients": 0,
"id": 35,
"items": [],
"name": "Counter-Strike: Global Offensive",
"order": 0,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 36,
"items": [],
"name": "Battlefield",
"order": 34,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 34,
"items": [],
"name": "Zockerbude DELUXE",
"order": 35,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 37,
"items": [],
"name": "Keep Talking and Nobody Explodes",
"order": 36,
"parent_id": 28,
"topic": ""
}
],
"name": "+ Ananas Express +",
"order": 4766,
"parent_id": 0,
"topic": "VIP Bereich"
},
{
"clients": 0,
"id": 7800,
"items": [],
"name": "Lehoneys Babbel Ecke ♥",
"order": 7074,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 7986,
"items": [],
"name": "[FshnX-Clan] Channel",
"order": 7800,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 10331,
"items": [
{
"clients": 0,
"id": 10332,
"items": [],
"name": "LOL",
"order": 0,
"parent_id": 10331,
"topic": ""
},
{
"clients": 0,
"id": 10333,
"items": [],
"name": "CSGO",
"order": 10332,
"parent_id": 10331,
"topic": ""
}
],
"name": "Tims Kajute",
"order": 7816,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 8575,
"items": [],
"name": ".Dw3yN und seine Matjes",
"order": 7986,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 9446,
"items": [],
"name": "• amaze \\p Gamerlobby •",
"order": 8043,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 8043,
"items": [],
"name": "SmiiLY",
"order": 8575,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 4766,
"items": [
{
"clients": 0,
"id": 5016,
"items": [],
"name": "Yung Avocado x)",
"order": 0,
"parent_id": 4766,
"topic": ""
},
{
"clients": 0,
"id": 6989,
"items": [],
"name": "Aus-schwitz",
"order": 5014,
"parent_id": 4766,
"topic": ""
},
{
"clients": 0,
"id": 5014,
"items": [],
"name": "Ein Haufen Fake-Yeezys",
"order": 5016,
"parent_id": 4766,
"topic": ""
}
],
"name": "Andy Lubitz' Cockpit",
"order": 9324,
"parent_id": 0,
"topic": "-"
},
{
"clients": 0,
"id": 10891,
"items": [],
"name": "--Brot Channel--",
"order": 9446,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 15658,
"items": [],
"name": "Dinotopia",
"order": 10331,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 10915,
"items": [
{
"clients": 0,
"id": 12937,
"items": [],
"name": "• Rastpark •",
"order": 0,
"parent_id": 10915,
"topic": ""
},
{
"clients": 0,
"id": 12936,
"items": [],
"name": "• AltBW •",
"order": 12930,
"parent_id": 10915,
"topic": ""
},
{
"clients": 0,
"id": 12930,
"items": [],
"name": "• Grillplatz •",
"order": 12937,
"parent_id": 10915,
"topic": ""
}
],
"name": "• Burgweinting 93055 •",
"order": 10891,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 11574,
"items": [],
"name": "MaxX´s Lounge",
"order": 10915,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 12424,
"items": [],
"name": "BrechstangenGang",
"order": 11574,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 13197,
"items": [],
"name": "Dachau Führerlager",
"order": 12424,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 17723,
"items": [],
"name": "Justin's Channel",
"order": 13197,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 7074,
"items": [],
"name": "OpuR3's Daddelo",
"order": 15658,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "wKa2MvSNdNz3PbcvFBtZlAQ2A2c=",
"platform": "Linux",
"created": 1288192843,
"uptime": 1674008,
"steam_id": null,
"domain": null,
"id": 11142886,
"ip": "5.181.49.42",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Nuremberg",
"description": "Herzlich Willkommen auf dem TS3 Server der Deutschen Terrorkom! Visit us @ https://www.terrorkom-clan.de",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1775221297,
"score": 0,
"last_online": 1776895818,
"icon": null,
"name": "-=[-T--]=- Deutsche Terrorkom",
"connect": "5.181.49.42:9987",
"request": "5.181.49.42:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 3,
"maxplayers": 200,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1770933678,
"last_update": 1776895818,
"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": 123,
"language": "de",
"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.ru/servers/11142886");
$data = json_decode($json, true);
var_dump($data);