Teamspeak 3
iNTERLUDe's fina grabbar! 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11142881json
{
"response": {
"channels": {
"onlinecount": 43,
"items": [
{
"clients": 3,
"id": 1,
"items": [],
"name": "#LOBBY/AFK",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 21,
"items": [],
"name": "[spacer2]___",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 30,
"items": [],
"name": "[spacer1]___",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 12,
"items": [],
"name": "#2 » [3x Users]",
"order": 11,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 13,
"items": [],
"name": "#3 » [4x Users]",
"order": 12,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 14,
"items": [],
"name": "#4 » [4x Users]",
"order": 13,
"parent_id": 0,
"topic": ""
},
{
"clients": 4,
"id": 15,
"items": [],
"name": "#5 » [5x Users]",
"order": 14,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 16,
"items": [],
"name": "#6 » [5x Users]",
"order": 15,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 320,
"items": [],
"name": "#7 » [6x Users]",
"order": 16,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 177,
"items": [],
"name": "┏ #JB",
"order": 20,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [
{
"clients": 0,
"id": 4,
"items": [],
"name": "┏ #KOMPANIET UTAN HJÄLTAR!",
"order": 0,
"parent_id": 3,
"topic": ""
},
{
"clients": 0,
"id": 34,
"items": [],
"name": "┣ #GOLFWANG",
"order": 4,
"parent_id": 3,
"topic": ""
},
{
"clients": 2,
"id": 9,
"items": [],
"name": "┗ #COWBOY CREW",
"order": 34,
"parent_id": 3,
"topic": "Lusse\\p-=a.K.a=-\\pKatt"
}
],
"name": "[cspacer1]#KONTORET",
"order": 21,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 73,
"items": [
{
"clients": 2,
"id": 74,
"items": [],
"name": "#1 » [2x]",
"order": 0,
"parent_id": 73,
"topic": ""
},
{
"clients": 0,
"id": 75,
"items": [],
"name": "#2 » [2x]",
"order": 74,
"parent_id": 73,
"topic": ""
},
{
"clients": 2,
"id": 76,
"items": [],
"name": "#3 » [2x]",
"order": 75,
"parent_id": 73,
"topic": ""
},
{
"clients": 0,
"id": 77,
"items": [],
"name": "#4 » [2x]",
"order": 76,
"parent_id": 73,
"topic": ""
},
{
"clients": 0,
"id": 78,
"items": [],
"name": "#5 » [2x]",
"order": 77,
"parent_id": 73,
"topic": ""
}
],
"name": "#DUOS [2x Users]",
"order": 30,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3059,
"items": [],
"name": "Mortal",
"order": 67,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 11,
"items": [],
"name": "#1 » [3x Users]",
"order": 73,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 556,
"items": [],
"name": "┣ #FaceitFerrari",
"order": 177,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 762,
"items": [],
"name": "#8 » [6x Users]",
"order": 320,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 20,
"items": [],
"name": "[cspacer1]#THE ALIBI ROOMS",
"order": 321,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 951,
"items": [
{
"clients": 0,
"id": 1278,
"items": [],
"name": "(λ)Warcraft2(1995)[email protected]",
"order": 0,
"parent_id": 951,
"topic": ""
}
],
"name": "┣ (λ)Resistance",
"order": 556,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 321,
"items": [],
"name": "#10 » [Unlimited]",
"order": 604,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 604,
"items": [],
"name": "#9 » [Unlimited]",
"order": 762,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3748,
"items": [],
"name": "┣ #ARTEMIS STALLIONS",
"order": 951,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 4432,
"items": [],
"name": "premghouls",
"order": 3059,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 4125,
"items": [],
"name": "┣ #Diskoteket",
"order": 3748,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5287,
"items": [],
"name": "┗ #Hjo Vikings",
"order": 4125,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5747,
"items": [],
"name": "Ban = Burn All Niggers",
"order": 4432,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 67,
"items": [],
"name": "[cspacer1]#CREATE PERM OR TEMP. CHANNEL",
"order": 5287,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5782,
"items": [],
"name": "Il cazzo con le patate",
"order": 5747,
"parent_id": 0,
"topic": "You dont wanna no"
},
{
"clients": 2,
"id": 5786,
"items": [],
"name": "f",
"order": 5782,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5787,
"items": [],
"name": "reload",
"order": 5786,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5788,
"items": [],
"name": "BÖNAN",
"order": 5787,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5789,
"items": [],
"name": "Emiliovac er en hat",
"order": 5788,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5792,
"items": [],
"name": "dojo",
"order": 5789,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5795,
"items": [],
"name": "Ban = Bøsser All Night",
"order": 5792,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 5798,
"items": [],
"name": "asdasd",
"order": 5795,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "kd5dtgNDm6rg+WFCqZSJ0q/pKmA=",
"platform": "Windows",
"created": 1479160575,
"uptime": 863533,
"steam_id": null,
"domain": "ilude.ddns.net",
"id": 11142881,
"ip": "85.231.56.64",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Skutskär",
"description": "Welcome ladies & gentlemen, we hope you enjoy your stay! connection problems? the server will always be back online as soon as possible. / ledningen\nDISCORD - https://discord.gg/63U7PqR",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1775494330,
"score": 0,
"last_online": 1776358217,
"icon": null,
"name": "iNTERLUDe's fina grabbar!",
"connect": "ilude.ddns.net:9987",
"request": "85.231.56.64:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 18,
"maxplayers": 64,
"bots": 0,
"secured": null,
"private": true,
"country": "SE",
"status": true,
"votes": 0,
"points": 72,
"add_date": 1770933677,
"last_update": 1776358217,
"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": 49,
"language": "sv",
"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/11142881");
$data = json_decode($json, true);
var_dump($data);