ThatsPepe \p Community Server 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"channels": {
"onlinecount": 50,
"items": [
{
"clients": 0,
"id": 66,
"items": [],
"name": "[*spacer1]___",
"order": 0,
"parent_id": 0,
"topic": "Default Channel has no topic"
},
{
"clients": 0,
"id": 67,
"items": [
{
"clients": -1,
"id": 68,
"items": [],
"name": "╔ ThatsPepe",
"order": 0,
"parent_id": 67,
"topic": ""
},
{
"clients": -1,
"id": 69,
"items": [],
"name": "╠ ItsLonSi",
"order": 68,
"parent_id": 67,
"topic": ""
},
{
"clients": -1,
"id": 72,
"items": [],
"name": "╠ Wohnzimmer",
"order": 69,
"parent_id": 67,
"topic": ""
},
{
"clients": -1,
"id": 73,
"items": [],
"name": "╠ Chillout Lounge",
"order": 72,
"parent_id": 67,
"topic": ""
},
{
"clients": -1,
"id": 74,
"items": [],
"name": "╠ Schlafzimmer",
"order": 73,
"parent_id": 67,
"topic": ""
},
{
"clients": -1,
"id": 75,
"items": [],
"name": "╚ AFK - VIP Bereich",
"order": 74,
"parent_id": 67,
"topic": ""
}
],
"name": "[cspacer].:: VIP - Lounge ::.",
"order": 66,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 76,
"items": [],
"name": "[*spacer2]___",
"order": 67,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 88,
"items": [],
"name": "[cspacer].:: Lobby ::.",
"order": 76,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 175,
"items": [],
"name": "[*spacer8]___",
"order": 77,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 96,
"items": [
{
"clients": 0,
"id": 97,
"items": [],
"name": "╔ Talk 1",
"order": 0,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 98,
"items": [],
"name": "╠ Talk 2",
"order": 97,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 99,
"items": [],
"name": "╠ Talk 3",
"order": 98,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 100,
"items": [],
"name": "╠ Talk 4",
"order": 99,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 101,
"items": [],
"name": "╠ Talk 5",
"order": 100,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 102,
"items": [],
"name": "╠ Talk 6",
"order": 101,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 103,
"items": [],
"name": "╠ Talk 7",
"order": 102,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 104,
"items": [],
"name": "╠ Talk 8",
"order": 103,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 105,
"items": [],
"name": "╠ Talk 9",
"order": 104,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 106,
"items": [],
"name": "╠ Talk 10",
"order": 105,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 149,
"items": [],
"name": "╠ Talk 11",
"order": 106,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 150,
"items": [],
"name": "╠ Talk 12",
"order": 149,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 151,
"items": [],
"name": "╠ Talk 13",
"order": 150,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 152,
"items": [],
"name": "╠ Talk 14",
"order": 151,
"parent_id": 96,
"topic": ""
},
{
"clients": 0,
"id": 153,
"items": [],
"name": "╚ Talk 15",
"order": 152,
"parent_id": 96,
"topic": ""
}
],
"name": "[cspacer].:: Community Bereich ::.",
"order": 83,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 95,
"items": [],
"name": "[*spacer6]___",
"order": 84,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 90,
"items": [
{
"clients": -1,
"id": 91,
"items": [],
"name": "╔ Wohnzimmer",
"order": 0,
"parent_id": 90,
"topic": ""
},
{
"clients": -1,
"id": 92,
"items": [],
"name": "╠ Chillout Lounge",
"order": 91,
"parent_id": 90,
"topic": ""
},
{
"clients": -1,
"id": 93,
"items": [],
"name": "╠ Schlafzimmer",
"order": 92,
"parent_id": 90,
"topic": ""
},
{
"clients": -1,
"id": 94,
"items": [],
"name": "╚ Dark Room",
"order": 93,
"parent_id": 90,
"topic": ""
}
],
"name": "[cspacer].:: Subscriber ::.",
"order": 87,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 83,
"items": [],
"name": "[*spacer3]___",
"order": 88,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 84,
"items": [
{
"clients": -1,
"id": 85,
"items": [],
"name": "╔ Warteraum == > VIP - Lounge",
"order": 0,
"parent_id": 84,
"topic": ""
},
{
"clients": -1,
"id": 86,
"items": [],
"name": "╚ Warteraum == > Streaming Area",
"order": 85,
"parent_id": 84,
"topic": ""
}
],
"name": "[cspacer].:: Wartebereich ::.",
"order": 89,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 89,
"items": [],
"name": "[*spacer5]___",
"order": 90,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 77,
"items": [
{
"clients": -1,
"id": 78,
"items": [],
"name": "╔ Streaming Muted - OnAir",
"order": 0,
"parent_id": 77,
"topic": ""
},
{
"clients": -1,
"id": 79,
"items": [],
"name": "╠ Streaming - OnAir",
"order": 78,
"parent_id": 77,
"topic": ""
},
{
"clients": -1,
"id": 80,
"items": [],
"name": "╠ Streaming 1",
"order": 79,
"parent_id": 77,
"topic": ""
},
{
"clients": -1,
"id": 81,
"items": [],
"name": "╠ Streaming 2",
"order": 80,
"parent_id": 77,
"topic": ""
},
{
"clients": -1,
"id": 82,
"items": [],
"name": "╚ Streaming 3",
"order": 81,
"parent_id": 77,
"topic": ""
}
],
"name": "[cspacer].:: Streaming Area ::.",
"order": 95,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 87,
"items": [],
"name": "[*spacer4]___",
"order": 96,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 176,
"items": [],
"name": "[cspacer].:: Privater Bereich ::.",
"order": 175,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 180,
"items": [],
"name": "[*spacer9]___",
"order": 176,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 108,
"items": [
{
"clients": 0,
"id": 109,
"items": [],
"name": "╔ AFK",
"order": 0,
"parent_id": 108,
"topic": ""
},
{
"clients": 0,
"id": 110,
"items": [],
"name": "╚ Anderen Teamspeak",
"order": 109,
"parent_id": 108,
"topic": ""
}
],
"name": "[cspacer].:: AFK ::.",
"order": 180,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "YawMmmKgin+ek8yBBdVWSOM/WaU=",
"platform": "Linux",
"created": 1572275947,
"uptime": 326045,
"steam_id": null,
"domain": "ts.thatspepe.de",
"id": 10733910,
"ip": "45.89.127.28",
"port": 9987,
"query": 9987,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "Willkommen auf dem TeamSpeak 3 Server von ThatsPepe !\n\nUm Rechte auf dem TeamSpeak 3 Server zu erhalten, musst du dich im Community (https://forum.thatspepe.de) registrieren !\n\n- Hast du Heute schon für unseren Server (https://ts3index.com/server/298485#vote) ? <3 Danke\n\n\nBitte in der Lobby beschreibung alle 24 Std. Voten <3 Danke",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1780812803,
"last_online": 1781139625,
"icon": null,
"name": "ThatsPepe \\p Community Server",
"connect": "ts.thatspepe.de:9987",
"request": "45.89.127.28:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 1,
"maxplayers": 512,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1765927389,
"last_update": 1781139625,
"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": 138,
"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.cn/servers/10733910");
$data = json_decode($json, true);
var_dump($data);