Teamspeak 3
API для AWOG.at TS³
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11142904json
{
"response": {
"channels": {
"onlinecount": 62,
"items": [
{
"clients": -1,
"id": 2,
"items": [
{
"clients": 0,
"id": 1344,
"items": [],
"name": "Alphas DJ-Set",
"order": 0,
"parent_id": 2,
"topic": "Harder Styles of Music!"
},
{
"clients": -1,
"id": 1170,
"items": [],
"name": "Zocken",
"order": 4,
"parent_id": 2,
"topic": ""
},
{
"clients": -1,
"id": 5,
"items": [],
"name": "Privat",
"order": 1170,
"parent_id": 2,
"topic": ""
},
{
"clients": -1,
"id": 4,
"items": [],
"name": "The Chillen-Area",
"order": 1344,
"parent_id": 2,
"topic": ""
}
],
"name": "[cspacer7]Admin-Area",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 7,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "Eingangshalle",
"order": 0,
"parent_id": 7,
"topic": ""
},
{
"clients": 1,
"id": 1456,
"items": [],
"name": "Bot Channel",
"order": 1,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 1371,
"items": [],
"name": "Meeting-Room",
"order": 456,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 456,
"items": [],
"name": "ONLY JOIN - If you need an Admin!!!",
"order": 1456,
"parent_id": 7,
"topic": "If you REALLY need an Admin!"
}
],
"name": "[cspacer0]WELCOME",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 20,
"items": [
{
"clients": 1,
"id": 21,
"items": [],
"name": "Chillen -1-",
"order": 0,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 22,
"items": [],
"name": "Chillen -2-",
"order": 21,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 23,
"items": [],
"name": "Chillen -3-",
"order": 22,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1435,
"items": [],
"name": "Chillen -4-",
"order": 23,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1453,
"items": [],
"name": "Maisfeldwigga",
"order": 1407,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1458,
"items": [],
"name": "Beamer Boys und marcos audi",
"order": 1413,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1459,
"items": [],
"name": "Printschiss-Selbsthilfegruppe",
"order": 1430,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1413,
"items": [],
"name": "Ameisenbären & StimulationsPonys",
"order": 1435,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1430,
"items": [],
"name": "kA",
"order": 1453,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1407,
"items": [],
"name": "Orihatzal",
"order": 1454,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 1454,
"items": [],
"name": "Hogwarts \\p Lounge",
"order": 1458,
"parent_id": 20,
"topic": ""
}
],
"name": "[cspacer6]Chill-Area",
"order": 7,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 27,
"items": [],
"name": "[cspacer9]______________________________",
"order": 13,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 28,
"items": [
{
"clients": 0,
"id": 1419,
"items": [],
"name": "News",
"order": 0,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 32,
"items": [],
"name": "Flamen -2- VOICE",
"order": 29,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 29,
"items": [],
"name": "Flamen -1- SPEEX",
"order": 1419,
"parent_id": 28,
"topic": ""
}
],
"name": "[cspacer10]MW3-Area",
"order": 19,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 19,
"items": [],
"name": "[cspacer5]______________________________",
"order": 20,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 18,
"items": [
{
"clients": 0,
"id": 124,
"items": [],
"name": "Masturbieren",
"order": 0,
"parent_id": 18,
"topic": ""
},
{
"clients": 0,
"id": 25,
"items": [],
"name": "Nicht vorhandenes Real-Life",
"order": 24,
"parent_id": 18,
"topic": ""
},
{
"clients": 0,
"id": 244,
"items": [],
"name": "Die mobile Gaskammer",
"order": 124,
"parent_id": 18,
"topic": ""
},
{
"clients": 0,
"id": 24,
"items": [],
"name": "Beschäftigt (Do not Disturb)",
"order": 244,
"parent_id": 18,
"topic": ""
}
],
"name": "[cspacer4]AFK",
"order": 27,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 33,
"items": [],
"name": "[cspacer11]_____________________________",
"order": 28,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 13,
"items": [
{
"clients": 0,
"id": 15,
"items": [],
"name": "Battlefield Bad Company 2",
"order": 0,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 17,
"items": [],
"name": "Battlefield 1/2/3/4",
"order": 15,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 967,
"items": [],
"name": "COD BlOps I/II/III",
"order": 17,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 1460,
"items": [
{
"clients": 0,
"id": 1461,
"items": [],
"name": "Members only",
"order": 0,
"parent_id": 1460,
"topic": ""
},
{
"clients": 0,
"id": 1462,
"items": [],
"name": "PvE",
"order": 1461,
"parent_id": 1460,
"topic": ""
},
{
"clients": 0,
"id": 1463,
"items": [],
"name": "PvP",
"order": 1462,
"parent_id": 1460,
"topic": ""
}
],
"name": "New World",
"order": 554,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 1259,
"items": [
{
"clients": 0,
"id": 1393,
"items": [],
"name": "Chill Out / Tactics",
"order": 0,
"parent_id": 1259,
"topic": ""
},
{
"clients": 0,
"id": 1392,
"items": [],
"name": "MM/Elo-Hell",
"order": 1391,
"parent_id": 1259,
"topic": ""
},
{
"clients": 0,
"id": 1436,
"items": [],
"name": "Unterfranken 1",
"order": 1392,
"parent_id": 1259,
"topic": "Weng, fei, gell!"
},
{
"clients": 0,
"id": 1391,
"items": [],
"name": "Casual-Hell",
"order": 1393,
"parent_id": 1259,
"topic": ""
},
{
"clients": 0,
"id": 1449,
"items": [],
"name": "Unterfranken 2",
"order": 1436,
"parent_id": 1259,
"topic": ""
},
{
"clients": 0,
"id": 1450,
"items": [],
"name": "[j0k3r]",
"order": 1449,
"parent_id": 1259,
"topic": ""
}
],
"name": "CS 1.6 \\p Source \\p GO \\p CO",
"order": 967,
"parent_id": 13,
"topic": ""
},
{
"clients": -1,
"id": 554,
"items": [
{
"clients": 0,
"id": 1372,
"items": [],
"name": "Lone Wolf",
"order": 0,
"parent_id": 554,
"topic": ""
},
{
"clients": 0,
"id": 1373,
"items": [],
"name": "Bandits",
"order": 1372,
"parent_id": 554,
"topic": ""
},
{
"clients": 0,
"id": 1374,
"items": [],
"name": "Heroes",
"order": 1373,
"parent_id": 554,
"topic": ""
},
{
"clients": 0,
"id": 1237,
"items": [],
"name": "Squad-Tactics",
"order": 1374,
"parent_id": 554,
"topic": ""
}
],
"name": "DayZ",
"order": 1259,
"parent_id": 13,
"topic": ""
},
{
"clients": -1,
"id": 1396,
"items": [
{
"clients": 0,
"id": 1410,
"items": [],
"name": "Members only",
"order": 0,
"parent_id": 1396,
"topic": ""
},
{
"clients": 0,
"id": 1409,
"items": [],
"name": "Raid 2",
"order": 1408,
"parent_id": 1396,
"topic": ""
},
{
"clients": 0,
"id": 1408,
"items": [],
"name": "Raid 1",
"order": 1410,
"parent_id": 1396,
"topic": ""
}
],
"name": "World of Warcraft",
"order": 1403,
"parent_id": 13,
"topic": ""
},
{
"clients": -1,
"id": 1403,
"items": [
{
"clients": 0,
"id": 1417,
"items": [],
"name": "Members only",
"order": 0,
"parent_id": 1403,
"topic": ""
},
{
"clients": 0,
"id": 1418,
"items": [],
"name": "Competitive 2",
"order": 1415,
"parent_id": 1403,
"topic": ""
},
{
"clients": 0,
"id": 1415,
"items": [],
"name": "Competitive 1",
"order": 1417,
"parent_id": 1403,
"topic": ""
}
],
"name": "Overwatch",
"order": 1460,
"parent_id": 13,
"topic": ""
}
],
"name": "[cspacer8]Gaming-Area",
"order": 33,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "F07Yfbb6MQdVrxhdj2cl2vUeVW4=",
"platform": "Linux",
"created": 1328908746,
"uptime": 22385362,
"steam_id": null,
"domain": null,
"id": 11142904,
"ip": "88.99.153.146",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Falkenstein",
"description": "Hi! Um die neuesten Informationen rund um AWOG zu erfahren besucht einfach unsere Homepage: http://www.awog.at/",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1770933678,
"score": 0,
"last_online": 1776895823,
"icon": null,
"name": "AWOG.at TS³",
"connect": "88.99.153.146:9987",
"request": "88.99.153.146:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 3,
"maxplayers": 512,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1770933678,
"last_update": 1776895823,
"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": 140,
"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/11142904");
$data = json_decode($json, true);
var_dump($data);