Teamspeak 3
API для NO WAR, JUST MAKE LOVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11142855json
{
"response": {
"channels": {
"onlinecount": 36,
"items": [
{
"clients": 0,
"id": 48,
"items": [],
"name": "[*spacerdd1]═══",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 387,
"items": [],
"name": "[cspacer] Server Address: playvoice.net",
"order": 48,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 50,
"items": [],
"name": "[*spacer1ds5a]═══",
"order": 49,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 51,
"items": [],
"name": "[cspacer1t]Private channels",
"order": 50,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 52,
"items": [
{
"clients": 0,
"id": 53,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 52,
"topic": ""
},
{
"clients": 0,
"id": 54,
"items": [],
"name": "Private Talk 2",
"order": 53,
"parent_id": 52,
"topic": ""
},
{
"clients": 0,
"id": 55,
"items": [],
"name": "Private Talk 3",
"order": 54,
"parent_id": 52,
"topic": ""
},
{
"clients": 0,
"id": 559,
"items": [],
"name": "Private Talk 4",
"order": 55,
"parent_id": 52,
"topic": ""
},
{
"clients": 0,
"id": 560,
"items": [],
"name": "Private Talk 5",
"order": 559,
"parent_id": 52,
"topic": ""
},
{
"clients": 0,
"id": 561,
"items": [],
"name": "Private Talk 6",
"order": 560,
"parent_id": 52,
"topic": ""
},
{
"clients": 0,
"id": 562,
"items": [],
"name": "Private Talk 7",
"order": 561,
"parent_id": 52,
"topic": ""
}
],
"name": "Private Talk (max. 2 Users)",
"order": 51,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 56,
"items": [
{
"clients": 0,
"id": 57,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 56,
"topic": ""
},
{
"clients": 0,
"id": 58,
"items": [],
"name": "Private Talk 2",
"order": 57,
"parent_id": 56,
"topic": ""
},
{
"clients": 0,
"id": 59,
"items": [],
"name": "Private Talk 3",
"order": 58,
"parent_id": 56,
"topic": ""
},
{
"clients": 0,
"id": 563,
"items": [],
"name": "Private Talk 4",
"order": 59,
"parent_id": 56,
"topic": ""
},
{
"clients": 0,
"id": 564,
"items": [],
"name": "Private Talk 5",
"order": 563,
"parent_id": 56,
"topic": ""
},
{
"clients": 0,
"id": 565,
"items": [],
"name": "Private Talk 6",
"order": 564,
"parent_id": 56,
"topic": ""
}
],
"name": "Private Talk (max. 3 Users)",
"order": 52,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 60,
"items": [
{
"clients": 0,
"id": 61,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 60,
"topic": ""
},
{
"clients": 0,
"id": 62,
"items": [],
"name": "Private Talk 2",
"order": 61,
"parent_id": 60,
"topic": ""
},
{
"clients": 0,
"id": 63,
"items": [],
"name": "Private Talk 3",
"order": 62,
"parent_id": 60,
"topic": ""
},
{
"clients": 0,
"id": 566,
"items": [],
"name": "Private Talk 4",
"order": 63,
"parent_id": 60,
"topic": ""
},
{
"clients": 0,
"id": 567,
"items": [],
"name": "Private Talk 5",
"order": 566,
"parent_id": 60,
"topic": ""
}
],
"name": "Private Talk (max. 4 Users)",
"order": 56,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 64,
"items": [
{
"clients": 0,
"id": 65,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 64,
"topic": ""
},
{
"clients": 0,
"id": 66,
"items": [],
"name": "Private Talk 2",
"order": 65,
"parent_id": 64,
"topic": ""
},
{
"clients": 0,
"id": 67,
"items": [],
"name": "Private Talk 3",
"order": 66,
"parent_id": 64,
"topic": ""
},
{
"clients": 0,
"id": 568,
"items": [],
"name": "Private Talk 4",
"order": 67,
"parent_id": 64,
"topic": ""
},
{
"clients": 0,
"id": 569,
"items": [],
"name": "Private Talk 5",
"order": 568,
"parent_id": 64,
"topic": ""
}
],
"name": "Private Talk (max. 5 Users)",
"order": 60,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 68,
"items": [],
"name": "[*spacer1ds35dda]═══",
"order": 64,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 69,
"items": [],
"name": "[cspacer1t]︾ Temporary Rooms ︾",
"order": 68,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 70,
"items": [],
"name": "[*spacer1ds35a]═══",
"order": 69,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 1036,
"items": [],
"name": "ТА ЗА ЧТОООООООО",
"order": 70,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 49,
"items": [],
"name": "[spacer]👋 Welcome 👋",
"order": 387,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "ZxFdLHR8wJQ5/jhhXUKsx1TcUHQ=",
"platform": "Windows",
"created": 1727377966,
"uptime": 1104671,
"steam_id": null,
"domain": null,
"id": 11142855,
"ip": "185.55.243.12",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Frankfurt am Main",
"description": "Server address: playvoice.net\nЭто наш основной (оригинальный) сервер, заходи сюда снова.",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1776157317,
"score": 0,
"last_online": 1776354619,
"icon": null,
"name": "NO WAR, JUST MAKE LOVE",
"connect": "185.55.243.12:9987",
"request": "185.55.243.12:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 3,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1770933677,
"last_update": 1776354619,
"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": 48,
"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/11142855");
$data = json_decode($json, true);
var_dump($data);