Teamspeak 3
API для Catalin RolePlay \p rp.catalin.es
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489287json
{
"response": {
"channels": {
"onlinecount": 1,
"items": [
{
"clients": 2,
"id": 1,
"items": [],
"name": "Default Channel",
"order": 0,
"parent_id": 0,
"topic": "Default Channel has no topic"
}
]
},
"external_id": "srOGOaWlQUHkjWu47HyYpPrD2VM=",
"platform": "Linux",
"created": 1773980170,
"uptime": 741824,
"steam_id": null,
"domain": "Ts.catalin.es",
"id": 11489287,
"ip": "79.137.14.188",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Wattrelos",
"description": "Bienvenidos al Team-Speak 3 de Catalin RolePlay, visita https://rp.catalin.es para más información",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1776247857,
"score": 0,
"last_online": 1776353422,
"icon": null,
"name": "Catalin RolePlay \\p rp.catalin.es",
"connect": "Ts.catalin.es:9987",
"request": "79.137.14.188:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1776247857,
"last_update": 1776353422,
"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": 114,
"language": "fr",
"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/11489287");
$data = json_decode($json, true);
var_dump($data);