Teamspeak 3
brgts 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11143444json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11143444,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Nuremberg",
"description": "[{\"id\":\"ATvOwVHOu7\",\"type\":\"paragraph\",\"data\":{\"text\":\"@brgts\"}},{\"id\":\"1c6aWjDtZA\",\"type\":\"paragraph\",\"data\":{\"text\":\"LEVEL SYSTEM is active to earn money by increasing the rank/level on our server, every active player will receive from 10 to 20e as a sign of gratitude!\"}},{\"id\":\"aN84Ks-YGb\",\"type\":\"paragraph\",\"data\":{\"text\":\"В нашей системе уровней активен способ заработка денег за повышение ранга/уровня на сервере. Каждый активный игрок получит от 10 до 20 евро в знак благодарности!\"}},{\"id\":\"VpKgmolUV9\",\"type\":\"paragraph\",\"data\":{\"text\":\"Unser neues Levelsystem ermöglicht es dir jetzt, Geld zu verdienen, indem du deinen Rang/dein Level auf dem Server erhöhst. Jeder aktive Spieler erhält als Dankeschön 10 bis 20 Euro!\"}}]",
"game": 9000043,
"owner": 171245,
"boosts": 1,
"last_offline": 1773726677,
"score": 5,
"last_online": 1772827813,
"icon": null,
"name": "brgts",
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1771879291,
"last_update": 1773726677,
"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": 200,
"language": "ru",
"parked": true,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": {
"username": "kezual",
"avatar": "no.jpg",
"last_online": 1772116112
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11143444");
$data = json_decode($json, true);
var_dump($data);