-٠•● Evil Bloody Ax [Ru] ™ ●•٠- için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"channels": {
"onlinecount": 12,
"items": [
{
"clients": 0,
"id": 47955,
"items": [],
"name": "[cspacer]-٠•● Отошёл ●•٠-",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 57498,
"items": [],
"name": "[cspacer]╔═══════════════════════╗",
"order": 47955,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 61603,
"items": [],
"name": "[cspacer]-٠•● Общая комната ●•٠-",
"order": 47956,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 57499,
"items": [],
"name": "[cspacer]╚═══════════════════════╝",
"order": 47957,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 47960,
"items": [],
"name": "[cspacer]-٠•● Второй взвод ●•٠-",
"order": 47959,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 49477,
"items": [],
"name": "[cspacer]-٠•● Третий взвод ●•٠-",
"order": 47960,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 57496,
"items": [],
"name": "[cspacer]-٠•● Четвёртый взвод ●•٠-",
"order": 49477,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 57497,
"items": [],
"name": "[cspacer]-٠•● Пятый взвод ●•٠-",
"order": 57496,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 57076,
"items": [],
"name": "[*spacer1]▂",
"order": 57497,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 47957,
"items": [],
"name": "[cspacer]-٠•● Добро пожаловать ●•٠-",
"order": 57498,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 47956,
"items": [],
"name": "[*spacer0]▂",
"order": 57499,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 47959,
"items": [],
"name": "[cspacer]-٠•● Первый взвод ●•٠-",
"order": 61603,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "LPiEEsUuR3taXz7a9GtyWJNjPuA=",
"platform": "Linux",
"created": 1470059875,
"uptime": 108524,
"steam_id": null,
"domain": null,
"id": 10454544,
"ip": "46.20.46.230",
"port": 10175,
"query": 10011,
"project_id": null,
"color": 0,
"city": "Düsseldorf",
"description": null,
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1781156055,
"last_online": 1781346640,
"icon": null,
"name": "-٠•● Evil Bloody Ax [Ru] ™ ●•٠-",
"connect": "46.20.46.230:10175",
"request": "46.20.46.230:10011",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 3,
"maxplayers": 15,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1760048181,
"last_update": 1781346640,
"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": 149,
"language": "de",
"parked": false,
"app": {
"id": 1629110,
"steam_id": 9000043,
"name": "Teamspeak 3",
"url": "teamspeak-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/10454544");
$data = json_decode($json, true);
var_dump($data);