Teamspeak 3
API для VURABİLENE GAZOZ BABA
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11142861json
{
"response": {
"channels": {
"onlinecount": 2,
"items": [
{
"clients": 1,
"id": 1,
"items": [],
"name": "Default Channel",
"order": 0,
"parent_id": 0,
"topic": "Default Channel has no topic"
},
{
"clients": 2,
"id": 333,
"items": [],
"name": "cs2 nuke",
"order": 1,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "u+8MriBfTcTtrazgabMshnOruB8=",
"platform": "Windows",
"created": 1764338810,
"uptime": 12557006,
"steam_id": null,
"domain": null,
"id": 11142861,
"ip": "154.53.167.18",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Istanbul",
"description": "Test",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1775764923,
"score": 0,
"last_online": 1776895816,
"icon": null,
"name": "VURABİLENE GAZOZ BABA",
"connect": "154.53.167.18:9987",
"request": "154.53.167.18:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 3,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "TR",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1770933677,
"last_update": 1776895816,
"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": 88,
"language": "tr",
"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.ru/servers/11142861");
$data = json_decode($json, true);
var_dump($data);