API pentru Zlatan Ovic
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"channels": {
"onlinecount": 35,
"items": [
{
"clients": 0,
"id": 2,
"items": [],
"name": "[*spacerdd1]═══",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [],
"name": "[cspacer] Server Address: playvoice.net",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 4,
"items": [],
"name": "[spacer]👋 Welcome 👋",
"order": 3,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 5,
"items": [],
"name": "[*spacer1ds5a]═══",
"order": 4,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 6,
"items": [],
"name": "[cspacer1t]Private channels",
"order": 5,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 7,
"items": [
{
"clients": 0,
"id": 8,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 9,
"items": [],
"name": "Private Talk 2",
"order": 8,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 10,
"items": [],
"name": "Private Talk 3",
"order": 9,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 11,
"items": [],
"name": "Private Talk 4",
"order": 10,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 12,
"items": [],
"name": "Private Talk 5",
"order": 11,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 13,
"items": [],
"name": "Private Talk 6",
"order": 12,
"parent_id": 7,
"topic": ""
},
{
"clients": 0,
"id": 14,
"items": [],
"name": "Private Talk 7",
"order": 13,
"parent_id": 7,
"topic": ""
}
],
"name": "Private Talk (max. 2 Users)",
"order": 6,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 15,
"items": [
{
"clients": 0,
"id": 16,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 15,
"topic": ""
},
{
"clients": 0,
"id": 17,
"items": [],
"name": "Private Talk 2",
"order": 16,
"parent_id": 15,
"topic": ""
},
{
"clients": 0,
"id": 18,
"items": [],
"name": "Private Talk 3",
"order": 17,
"parent_id": 15,
"topic": ""
},
{
"clients": 0,
"id": 19,
"items": [],
"name": "Private Talk 4",
"order": 18,
"parent_id": 15,
"topic": ""
},
{
"clients": 0,
"id": 20,
"items": [],
"name": "Private Talk 5",
"order": 19,
"parent_id": 15,
"topic": ""
},
{
"clients": 0,
"id": 21,
"items": [],
"name": "Private Talk 6",
"order": 20,
"parent_id": 15,
"topic": ""
}
],
"name": "Private Talk (max. 3 Users)",
"order": 7,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 22,
"items": [
{
"clients": 0,
"id": 23,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 22,
"topic": ""
},
{
"clients": 0,
"id": 24,
"items": [],
"name": "Private Talk 2",
"order": 23,
"parent_id": 22,
"topic": ""
},
{
"clients": 0,
"id": 25,
"items": [],
"name": "Private Talk 3",
"order": 24,
"parent_id": 22,
"topic": ""
},
{
"clients": 0,
"id": 26,
"items": [],
"name": "Private Talk 4",
"order": 25,
"parent_id": 22,
"topic": ""
},
{
"clients": 0,
"id": 27,
"items": [],
"name": "Private Talk 5",
"order": 26,
"parent_id": 22,
"topic": ""
}
],
"name": "Private Talk (max. 4 Users)",
"order": 15,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 28,
"items": [
{
"clients": 0,
"id": 29,
"items": [],
"name": "Private Talk 1",
"order": 0,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 30,
"items": [],
"name": "Private Talk 2",
"order": 29,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 31,
"items": [],
"name": "Private Talk 3",
"order": 30,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 32,
"items": [],
"name": "Private Talk 4",
"order": 31,
"parent_id": 28,
"topic": ""
},
{
"clients": 0,
"id": 33,
"items": [],
"name": "Private Talk 5",
"order": 32,
"parent_id": 28,
"topic": ""
}
],
"name": "Private Talk (max. 5 Users)",
"order": 22,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 34,
"items": [],
"name": "[*spacer1ds35dda]═══",
"order": 28,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 35,
"items": [],
"name": "[cspacer1t]︾ Temporary Rooms ︾",
"order": 34,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 36,
"items": [],
"name": "[*spacer1ds35a]═══",
"order": 35,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "ZxFdLHR8wJQ5/jhhXUKsx1TcUHQ=",
"platform": "Linux",
"created": 1727377966,
"uptime": 797693,
"steam_id": null,
"domain": null,
"id": 11641780,
"ip": "185.248.134.206",
"port": 9987,
"query": 9987,
"color": 0,
"city": "London",
"description": "Server address: playvoice.net\nЭто наш основной (оригинальный) сервер, заходи сюда снова.",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1779923563,
"last_online": 1780279826,
"icon": null,
"name": "Zlatan Ovic",
"connect": "185.248.134.206:9987",
"request": "185.248.134.206:9987",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 1,
"maxplayers": 32,
"bots": 0,
"secured": null,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1779923563,
"last_update": 1780279826,
"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": 125,
"language": "en",
"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/11641780");
$data = json_decode($json, true);
var_dump($data);