API pentru Ts3 Satın Al
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"channels": {
"onlinecount": 17,
"items": [
{
"clients": 0,
"id": 1,
"items": [],
"name": "[*spacer]-",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 2,
"items": [],
"name": "[cspacer]1453 - Community",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [],
"name": "[*spacer1]-",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 4,
"items": [],
"name": "☰ Query Room ®",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5,
"items": [],
"name": "☰ Administrator Room ®",
"order": 4,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 7,
"items": [],
"name": "☰ Private Room #1",
"order": 5,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 12,
"items": [],
"name": "☰ 7/24 Live Music",
"order": 6,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 8,
"items": [],
"name": "☰ Private Room #2",
"order": 7,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 11,
"items": [],
"name": "☰ Music Room",
"order": 8,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 10,
"items": [],
"name": "☰ Lobby",
"order": 9,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 6,
"items": [],
"name": "[*spacer2]-",
"order": 10,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 9,
"items": [],
"name": "[*spacer3]-",
"order": 11,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 13,
"items": [],
"name": "☰ Away From Keyboard ☕",
"order": 12,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 14,
"items": [],
"name": "[*spacer4]-",
"order": 13,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 15,
"items": [],
"name": "[cspacer] ↓GECICI ODA-TEMPORARY ROOMS↓",
"order": 14,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 16,
"items": [],
"name": "[*spacer5]-",
"order": 15,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "b8tsFXQzNWoTH+jG6nMDzrv0WB8=",
"platform": "Linux",
"created": 1562073693,
"uptime": 524487,
"steam_id": null,
"domain": null,
"id": 11586591,
"ip": "37.230.60.99",
"port": 9987,
"query": 9987,
"color": 0,
"city": "Ankara",
"description": "TkyNET — Profesyonel TeamSpeak 3 Sunucuları için [tky.net.tr](https://www.tky.net.tr/ts3-satin-al) adresimizi ziyaret edebilirsiniz. \n\nYüksek uptime garantisi ve düşük ping değerleriyle oyun deneyiminizi kesintisiz sürdürün. Yurt içi ve yurt dışı lokasyonlu özel DDoS koruma altyapımızla sunucularınız her an güvende. Lisanslı ve kaliteli sesli iletişim çözümlerimizle tanışın.",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1779742374,
"last_online": 1780278616,
"icon": null,
"name": "Ts3 Satın Al",
"connect": "37.230.60.99:9987",
"request": "37.230.60.99:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1607851732",
"numplayers": 30,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": true,
"country": "TR",
"status": true,
"votes": 0,
"points": 108,
"add_date": 1779357348,
"last_update": 1780278616,
"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": 4,
"language": "tr",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11586591");
$data = json_decode($json, true);
var_dump($data);