Teamspeak 3
HellaHost 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10454526json
{
"response": {
"channels": {
"onlinecount": 23,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "AFK",
"order": 0,
"parent_id": 0,
"topic": "ТИХО БЛ*ТЬ! ТУТ ЛЮДИ АФКАШАТ!"
},
{
"clients": 0,
"id": 734,
"items": [],
"name": "[spacer9]",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 841,
"items": [],
"name": "[spacer11]",
"order": 84,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 743,
"items": [],
"name": "[spacer19]",
"order": 91,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 735,
"items": [],
"name": "[spacer10]",
"order": 733,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 733,
"items": [],
"name": "[cspacer2F4]• Обычные комнаты •",
"order": 734,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 91,
"items": [
{
"clients": 4,
"id": 92,
"items": [],
"name": "Комната 1",
"order": 0,
"parent_id": 91,
"topic": ""
},
{
"clients": 0,
"id": 93,
"items": [],
"name": "Комната 2",
"order": 92,
"parent_id": 91,
"topic": ""
},
{
"clients": 2,
"id": 94,
"items": [],
"name": "Комната 3",
"order": 93,
"parent_id": 91,
"topic": ""
},
{
"clients": 0,
"id": 488,
"items": [],
"name": "Комната 4",
"order": 94,
"parent_id": 91,
"topic": ""
},
{
"clients": 0,
"id": 489,
"items": [],
"name": "Комната 5",
"order": 488,
"parent_id": 91,
"topic": ""
}
],
"name": "Комнаты сервера",
"order": 735,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 84,
"items": [],
"name": "[cspacer1F4]• Ваши комнаты •",
"order": 743,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 53642,
"items": [],
"name": "чикибамбони",
"order": 841,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 53645,
"items": [],
"name": "131313",
"order": 53642,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53648,
"items": [],
"name": "калнал",
"order": 53645,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53649,
"items": [],
"name": "52",
"order": 53648,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53656,
"items": [],
"name": "arrrgon",
"order": 53649,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53657,
"items": [],
"name": "кавы",
"order": 53656,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53658,
"items": [],
"name": "5123123",
"order": 53657,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 53659,
"items": [],
"name": "3",
"order": 53658,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53660,
"items": [],
"name": "ШЛЮШКА ДЛЯ ХАЙЗЕНБЕРГА",
"order": 53659,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 53661,
"items": [],
"name": "кто второй зайдет тот гей",
"order": 53660,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "KBWVGrxxzPSLpXS7drIUMe809jE=",
"platform": "Linux",
"created": 1556346431,
"uptime": 8127089,
"steam_id": null,
"domain": null,
"id": 10454526,
"ip": "2.56.88.208",
"port": 9987,
"query": 10011,
"color": 0,
"city": "Moscow",
"description": "HellaHost: https://servers.hellahost.ru (Хостинг виртуальных и выделенных серверов)\nHellaAnime: https://hellaanime.ovh (Аниме фильмы и сериалы)\nОсновной сервер (RU): ts.hellahost.ru\\r\nСервер в Германии: 45.146.252.140\\r\n\\r\nНаш сайт: https://servers.hellahost.ru\\r\nСайт с аниме: https://hellaanime.ovh",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1773810085,
"score": 0,
"last_online": 1776344413,
"icon": null,
"name": "HellaHost",
"connect": "2.56.88.208:9987",
"request": "2.56.88.208:10011",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 26,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 95,
"add_date": 1760035416,
"last_update": 1776344413,
"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": 16,
"language": "ru",
"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.cn/servers/10454526");
$data = json_decode($json, true);
var_dump($data);