Teamspeak 3
ts.legendsgames.ru için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11142853json
{
"response": {
"channels": {
"onlinecount": 34,
"items": [
{
"clients": 2,
"id": 1,
"items": [],
"name": "Default Channel",
"order": 0,
"parent_id": 0,
"topic": "Default Channel has no topic"
},
{
"clients": 3,
"id": 8,
"items": [
{
"clients": 0,
"id": 2,
"items": [],
"name": "RUST 1 HQ",
"order": 0,
"parent_id": 8,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [],
"name": "RUST 2 HQ",
"order": 2,
"parent_id": 8,
"topic": ""
},
{
"clients": 0,
"id": 4,
"items": [],
"name": "RUST 3 HQ",
"order": 3,
"parent_id": 8,
"topic": ""
},
{
"clients": 0,
"id": 41,
"items": [],
"name": "RUST Streamer HQ",
"order": 4,
"parent_id": 8,
"topic": ""
}
],
"name": "RUST",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 12,
"items": [],
"name": "Users Channels",
"order": 5,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 30,
"items": [
{
"clients": 2,
"id": 31,
"items": [],
"name": "DF 1 HQ",
"order": 0,
"parent_id": 30,
"topic": ""
},
{
"clients": 0,
"id": 32,
"items": [],
"name": "DF 2 HQ",
"order": 31,
"parent_id": 30,
"topic": ""
},
{
"clients": 0,
"id": 33,
"items": [],
"name": "DF 3 HQ",
"order": 32,
"parent_id": 30,
"topic": ""
}
],
"name": "Delta Force",
"order": 8,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5,
"items": [],
"name": "AFK",
"order": 9,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7498,
"items": [],
"name": "7days",
"order": 12,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 9,
"items": [
{
"clients": 0,
"id": 10,
"items": [],
"name": "WOT 1 HQ",
"order": 0,
"parent_id": 9,
"topic": ""
},
{
"clients": 0,
"id": 11,
"items": [],
"name": "WOT 2 HQ",
"order": 10,
"parent_id": 9,
"topic": ""
},
{
"clients": 0,
"id": 17,
"items": [],
"name": "WOT 3 HQ",
"order": 11,
"parent_id": 9,
"topic": ""
}
],
"name": "Мир танков",
"order": 20,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 20,
"items": [
{
"clients": 0,
"id": 21,
"items": [],
"name": "DS 1 HQ",
"order": 0,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 22,
"items": [],
"name": "DS 2 HQ",
"order": 21,
"parent_id": 20,
"topic": ""
},
{
"clients": 0,
"id": 24,
"items": [],
"name": "DS 3 HQ",
"order": 22,
"parent_id": 20,
"topic": ""
}
],
"name": "Deadside",
"order": 30,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 7502,
"items": [],
"name": "основной",
"order": 7498,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7503,
"items": [],
"name": "кто егор тот лох",
"order": 7502,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7504,
"items": [],
"name": "КЛАН R2",
"order": 7503,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7505,
"items": [],
"name": "цыпа",
"order": 7504,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 7506,
"items": [],
"name": "авк",
"order": 7505,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7508,
"items": [],
"name": "opana",
"order": 7506,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7509,
"items": [],
"name": "daedloick",
"order": 7508,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7510,
"items": [],
"name": "Ферма лутеров",
"order": 7509,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7512,
"items": [],
"name": "игра",
"order": 7510,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7513,
"items": [],
"name": "вал",
"order": 7512,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7514,
"items": [],
"name": "Pumba",
"order": 7513,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 7515,
"items": [],
"name": "arkea1",
"order": 7514,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 7516,
"items": [],
"name": "ZELEEEEMHAAAN LOX",
"order": 7515,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "0F3gAJHqAmKJJaUqlbpK1I/ehmw=",
"platform": "Linux",
"created": 1727446659,
"uptime": 54003,
"steam_id": null,
"domain": "ts.legendsgames.ru",
"id": 11142853,
"ip": "185.42.26.88",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Moscow",
"description": "Добро пожаловать на наш сервер! \nСоблюдайте правила поведения, не спамьте и уважайте других пользователей.\nХорошего времяпровождения!\nts.legendsgames.ru",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1774235512,
"score": 0,
"last_online": 1776355229,
"icon": null,
"name": "ts.legendsgames.ru",
"connect": "ts.legendsgames.ru:9987",
"request": "185.42.26.88:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 34,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770933677,
"last_update": 1776355229,
"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": 142,
"language": "ru",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11142853");
$data = json_decode($json, true);
var_dump($data);