Teamspeak 3
API для GamersHub · Play. Connect. Respawn.
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11491704json
{
"response": {
"channels": {
"onlinecount": 53,
"items": [
{
"clients": 0,
"id": 48,
"items": [],
"name": "[*spacer125]____",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 6,
"items": [
{
"clients": 0,
"id": 8,
"items": [],
"name": "┌Gaming-Channel 1",
"order": 0,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 23,
"items": [],
"name": "├Gaming-Channel 3",
"order": 5,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 5,
"items": [],
"name": "├Gaming-Channel 2",
"order": 8,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 24,
"items": [],
"name": "├Gaming-Channel 4",
"order": 23,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 25,
"items": [],
"name": "├Gaming-Channel 5",
"order": 24,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 26,
"items": [],
"name": "├Gaming-Channel 6",
"order": 25,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 27,
"items": [],
"name": "├Gaming-Channel 7",
"order": 26,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 28,
"items": [],
"name": "├Gaming-Channel 8",
"order": 27,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 29,
"items": [],
"name": "├Gaming-Channel 9",
"order": 28,
"parent_id": 6,
"topic": ""
},
{
"clients": 0,
"id": 9,
"items": [],
"name": "└Gaming-Channel 10",
"order": 29,
"parent_id": 6,
"topic": ""
}
],
"name": "[cspacer]——————— ▼ Member Area ▼ ———————",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 45,
"items": [],
"name": "[*spacer123]____",
"order": 4,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 33,
"items": [],
"name": "[*spacer122]_______",
"order": 6,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 446,
"items": [],
"name": "[*spacer126]______",
"order": 13,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 1790,
"items": [
{
"clients": 1,
"id": 1791,
"items": [],
"name": "┌Music - Rock",
"order": 0,
"parent_id": 1790,
"topic": ""
},
{
"clients": 1,
"id": 1792,
"items": [],
"name": "└Music",
"order": 1791,
"parent_id": 1790,
"topic": ""
}
],
"name": "[cspacer]——————— ▼ Music Area ▼ ———————",
"order": 20,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 39,
"items": [
{
"clients": 0,
"id": 40,
"items": [],
"name": "Join here for your own Channel",
"order": 0,
"parent_id": 39,
"topic": ""
}
],
"name": "[cspacer]—————— ▼ Temp Channels ▼ ——————",
"order": 30,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 13,
"items": [
{
"clients": 0,
"id": 14,
"items": [],
"name": "┌TheFlauch's Lounge [offline]",
"order": 0,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 19,
"items": [],
"name": "├Darksoul \\p Felix's Lounge [offline]",
"order": 14,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 37,
"items": [],
"name": "├Flows©'s Lounge [offline]",
"order": 19,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 54,
"items": [],
"name": "├Marvin's Butterlab",
"order": 37,
"parent_id": 13,
"topic": ""
},
{
"clients": 0,
"id": 55,
"items": [],
"name": "└Elmo's Nudistencamp",
"order": 54,
"parent_id": 13,
"topic": ""
}
],
"name": "[cspacer]—————— ▼ Private Area ▼ ——————",
"order": 33,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 4,
"items": [],
"name": "Entrance Hall",
"order": 38,
"parent_id": 0,
"topic": "Entrance Area"
},
{
"clients": 0,
"id": 46,
"items": [],
"name": "[cspacer]Thursday",
"order": 43,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 130,
"items": [],
"name": "[cspacer]———————— ▼ Info Area ▼ ————————",
"order": 44,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [
{
"clients": 0,
"id": 16,
"items": [],
"name": "┌Public Gaming-Channel 1",
"order": 0,
"parent_id": 3,
"topic": ""
},
{
"clients": 0,
"id": 17,
"items": [],
"name": "├Public Gaming-Channel 2",
"order": 16,
"parent_id": 3,
"topic": ""
},
{
"clients": 0,
"id": 18,
"items": [],
"name": "├Public Gaming-Channel 3",
"order": 17,
"parent_id": 3,
"topic": ""
},
{
"clients": 0,
"id": 397,
"items": [],
"name": "├Public Gaming-Channel 4",
"order": 18,
"parent_id": 3,
"topic": ""
},
{
"clients": 0,
"id": 398,
"items": [],
"name": "└Public Gaming-Channel 5",
"order": 397,
"parent_id": 3,
"topic": ""
}
],
"name": "[cspacer]——————— ▼ Public Area ▼ ———————",
"order": 45,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 44,
"items": [],
"name": "[cspacer]02:10",
"order": 46,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 43,
"items": [],
"name": "[cspacer]30.04.2026",
"order": 47,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 49,
"items": [
{
"clients": 0,
"id": 50,
"items": [],
"name": "┌Support-Channel 1",
"order": 0,
"parent_id": 49,
"topic": ""
},
{
"clients": 0,
"id": 51,
"items": [],
"name": "├Support-Channel 2",
"order": 50,
"parent_id": 49,
"topic": ""
},
{
"clients": 0,
"id": 52,
"items": [],
"name": "└Support Queue - General",
"order": 51,
"parent_id": 49,
"topic": ""
}
],
"name": "[cspacer]—————— ▼ Support Area ▼ ——————",
"order": 48,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 20,
"items": [
{
"clients": 0,
"id": 22,
"items": [],
"name": "┌AFK - over 30 min",
"order": 0,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 53,
"items": [],
"name": "└AFK - Just Chilling",
"order": 21,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 21,
"items": [],
"name": "├AFK - under 30 min",
"order": 22,
"parent_id": 20,
"topic": ""
}
],
"name": "[cspacer]——————— ▼ AFK Area ▼ ———————",
"order": 49,
"parent_id": 0,
"topic": "away from keyboard"
},
{
"clients": -1,
"id": 502,
"items": [],
"name": "[cspacer]About Us",
"order": 130,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 447,
"items": [
{
"clients": 0,
"id": 409,
"items": [],
"name": "cpl.dunn",
"order": 0,
"parent_id": 447,
"topic": ""
},
{
"clients": 0,
"id": 1101,
"items": [],
"name": "cpl.dunn - 2",
"order": 409,
"parent_id": 447,
"topic": ""
}
],
"name": "[cspacer]—————— ▼ Perm Channels ▼ ——————",
"order": 446,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 30,
"items": [],
"name": "[*spacer122]_______________________",
"order": 447,
"parent_id": 0,
"topic": ""
},
{
"clients": -1,
"id": 503,
"items": [],
"name": "[cspacer]Links",
"order": 502,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 38,
"items": [],
"name": "[cspacer]—————— ▼ Entrance Area ▼ ——————",
"order": 503,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 47,
"items": [],
"name": "[*spacer124]____",
"order": 1790,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "Erq6NdYVNNzwL46yk21Cm7hnXxk=",
"platform": "Linux",
"created": 1721849213,
"uptime": 1492959,
"steam_id": null,
"domain": "ts.gamershub.cloud",
"id": 11491704,
"ip": "65.109.85.223",
"port": 11101,
"query": 10011,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1777480226,
"score": 0,
"last_online": 1777507839,
"icon": null,
"name": "GamersHub · Play. Connect. Respawn.",
"connect": "ts.gamershub.cloud:11101",
"request": "65.109.85.223:10011",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 4,
"maxplayers": 120,
"bots": 0,
"secured": null,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1777480226,
"last_update": 1777507839,
"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": 157,
"language": "fi",
"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/11491704");
$data = json_decode($json, true);
var_dump($data);