Teamspeak 3
PC Gaming Freaks TS के लिए API
प्रोग्राम, वेबसाइट और अन्य के लिए JSON
text
https://api.gamemonitoring.in/servers/10454545json
{
"response": {
"channels": {
"onlinecount": 22,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "Eingangshalle",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3058,
"items": [],
"name": "Laberecke 1",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3005,
"items": [
{
"clients": 0,
"id": 46,
"items": [],
"name": "Minecraft",
"order": 0,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 4986,
"items": [],
"name": "Overwatch",
"order": 46,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 1370,
"items": [],
"name": "League of Legends",
"order": 411,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 5602,
"items": [],
"name": "WOW - Public",
"order": 1370,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 411,
"items": [],
"name": "Battlefield",
"order": 1410,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 3236,
"items": [],
"name": "Counter Strike",
"order": 2478,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 4751,
"items": [],
"name": "The Division",
"order": 3236,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 2478,
"items": [],
"name": "CS : GO",
"order": 3649,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 1410,
"items": [],
"name": "BlackDesertOnline",
"order": 3654,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 9636,
"items": [],
"name": "Russian mafia / TDL",
"order": 4751,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 3654,
"items": [],
"name": "ARK: Survival Evolved",
"order": 4986,
"parent_id": 3005,
"topic": ""
},
{
"clients": 0,
"id": 3649,
"items": [],
"name": "Guild Wars 2",
"order": 5602,
"parent_id": 3005,
"topic": ""
}
],
"name": "[cspacer0]~~~~~~ Games ~~~~~~",
"order": 2984,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3008,
"items": [
{
"clients": 0,
"id": 1737,
"items": [],
"name": "AFK",
"order": 0,
"parent_id": 3008,
"topic": ""
}
],
"name": "[cspacer0]~~~~~~Away From Keybord~~~~~~",
"order": 3005,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3059,
"items": [],
"name": "Laberecke 2",
"order": 3058,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3061,
"items": [],
"name": "Laberecke 3",
"order": 3059,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 2984,
"items": [
{
"clients": 1,
"id": 1230,
"items": [],
"name": "Admin's Ruheraum - Center of Negativity",
"order": 0,
"parent_id": 2984,
"topic": ""
},
{
"clients": 0,
"id": 9761,
"items": [],
"name": "Admin's Partyraum",
"order": 1230,
"parent_id": 2984,
"topic": ""
}
],
"name": "[cspacer] ~~~~~~ Team - Bereich ~~~~~~",
"order": 3061,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "LG43YyL9G99NYAre94Pin1dKC7Q=",
"platform": "Linux",
"created": 1292497315,
"uptime": 4861400,
"steam_id": null,
"domain": null,
"id": 10454545,
"ip": "176.9.40.209",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Falkenstein",
"description": "Server by PC Gaming Freaks.\nSeid freundlich zueinander! Wer beleidigt oder stört wird gebannt! Wenn jemand negativ auffällt meldet ihn bitte!",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1774235512,
"score": 0,
"last_online": 1776922217,
"icon": null,
"name": "PC Gaming Freaks TS",
"connect": "176.9.40.209:9987",
"request": "176.9.40.209:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 2,
"maxplayers": 400,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1760048182,
"last_update": 1776922217,
"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": 104,
"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.in/servers/10454545");
$data = json_decode($json, true);
var_dump($data);