API dla [TacNet] Tactical-Network.de
JSON dla programów, stron i innych
text
json
{
"response": {
"channels": {
"onlinecount": 34,
"items": [
{
"clients": 1,
"id": 237,
"items": [],
"name": "Eingangshalle",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 239,
"items": [
{
"clients": 0,
"id": 240,
"items": [],
"name": "Aufenthaltsraum",
"order": 0,
"parent_id": 239,
"topic": ""
},
{
"clients": 0,
"id": 264,
"items": [],
"name": "Bastelstube",
"order": 240,
"parent_id": 239,
"topic": ""
},
{
"clients": 0,
"id": 362,
"items": [],
"name": "Besprechungsraum Member",
"order": 241,
"parent_id": 239,
"topic": ""
},
{
"clients": 0,
"id": 262,
"items": [],
"name": "Kochstudio",
"order": 245,
"parent_id": 239,
"topic": ""
},
{
"clients": 1,
"id": 254,
"items": [],
"name": "Ruheraum",
"order": 262,
"parent_id": 239,
"topic": ""
},
{
"clients": 0,
"id": 241,
"items": [],
"name": "Besprechungsraum",
"order": 264,
"parent_id": 239,
"topic": ""
},
{
"clients": 0,
"id": 245,
"items": [],
"name": "Heimkino",
"order": 362,
"parent_id": 239,
"topic": "Aufnahmeraum"
}
],
"name": "<<<--- Räume & Büros --->>>>",
"order": 237,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 238,
"items": [
{
"clients": 0,
"id": 386,
"items": [],
"name": "Swap the Game Sunday",
"order": 0,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 322,
"items": [],
"name": "Battlefield",
"order": 244,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 328,
"items": [],
"name": "Wargame",
"order": 248,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 248,
"items": [],
"name": "War Thunder",
"order": 253,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 304,
"items": [
{
"clients": 0,
"id": 326,
"items": [],
"name": "Ligaspiel",
"order": 0,
"parent_id": 304,
"topic": ""
}
],
"name": "Counterstrike",
"order": 265,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 281,
"items": [
{
"clients": 0,
"id": 284,
"items": [],
"name": "Team Red",
"order": 0,
"parent_id": 281,
"topic": ""
},
{
"clients": 0,
"id": 368,
"items": [],
"name": "Team Pink",
"order": 284,
"parent_id": 281,
"topic": ""
}
],
"name": "League of Legends",
"order": 270,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 253,
"items": [],
"name": "Minecraft",
"order": 281,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 270,
"items": [],
"name": "Farming Simulator",
"order": 304,
"parent_id": 238,
"topic": "Farming Simulator / Landwirtschaftssimulator"
},
{
"clients": 0,
"id": 265,
"items": [],
"name": "Borderlands",
"order": 322,
"parent_id": 238,
"topic": "Borderlands 2"
},
{
"clients": 0,
"id": 387,
"items": [],
"name": "Valheim / ARK / Sonstiges Craftingzeug",
"order": 328,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 244,
"items": [
{
"clients": 0,
"id": 260,
"items": [],
"name": "Technischer Support",
"order": 0,
"parent_id": 244,
"topic": ""
},
{
"clients": -1,
"id": 261,
"items": [],
"name": "ACRE ONLY!",
"order": 259,
"parent_id": 244,
"topic": ""
},
{
"clients": 0,
"id": 356,
"items": [],
"name": "Briefing Channel",
"order": 260,
"parent_id": 244,
"topic": ""
},
{
"clients": 0,
"id": 259,
"items": [],
"name": "Wartechannel",
"order": 356,
"parent_id": 244,
"topic": ""
}
],
"name": "Arma Series",
"order": 386,
"parent_id": 238,
"topic": ""
},
{
"clients": 0,
"id": 255,
"items": [
{
"clients": 1,
"id": 338,
"items": [],
"name": "Spiel 01",
"order": 0,
"parent_id": 255,
"topic": ""
},
{
"clients": 0,
"id": 287,
"items": [],
"name": "Spiel 03",
"order": 256,
"parent_id": 255,
"topic": ""
},
{
"clients": 0,
"id": 339,
"items": [],
"name": "Spiel 04",
"order": 287,
"parent_id": 255,
"topic": ""
},
{
"clients": 0,
"id": 256,
"items": [],
"name": "Spiel 02",
"order": 338,
"parent_id": 255,
"topic": ""
},
{
"clients": 0,
"id": 340,
"items": [],
"name": "Spiel 05",
"order": 339,
"parent_id": 255,
"topic": ""
}
],
"name": "Spielfeld (Sonstiges)",
"order": 387,
"parent_id": 238,
"topic": ""
}
],
"name": "<<<--- Spiele --->>>",
"order": 239,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "htB3MSLvaYR6mOAAjL66AbR74Js=",
"platform": "Windows",
"created": 1375157620,
"uptime": 2632671,
"steam_id": null,
"domain": null,
"id": 10454538,
"ip": "144.76.105.109",
"port": 9987,
"query": 9987,
"project_id": null,
"color": 0,
"city": "Falkenstein",
"description": "Willkommen auf dem TeamSpeak-Server von Tactical-Network.de!",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1778735579,
"last_online": 1781368833,
"icon": null,
"name": "[TacNet] Tactical-Network.de",
"connect": "144.76.105.109:9987",
"request": "144.76.105.109:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 3,
"maxplayers": 412,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1760048159,
"last_update": 1781368833,
"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": 133,
"language": "de",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10454538");
$data = json_decode($json, true);
var_dump($data);