API для void
JSON для программ, сайтов и прочего
text
json
{
"response": {
"channels": {
"onlinecount": 31,
"items": [
{
"clients": -1,
"id": 8,
"items": [
{
"clients": -1,
"id": 14906,
"items": [],
"name": "альтухи",
"order": 0,
"parent_id": 8,
"topic": ""
},
{
"clients": 0,
"id": 3,
"items": [],
"name": "Вход = бан + дуддос",
"order": 14906,
"parent_id": 8,
"topic": ""
}
],
"name": "Секс по тимспику",
"order": 0,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109570,
"items": [],
"name": "ффф",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 7,
"items": [],
"name": "666",
"order": 2,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 37070,
"items": [],
"name": "[spacer]",
"order": 7,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 48281,
"items": [],
"name": "Оверпики",
"order": 8,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 2,
"items": [],
"name": "999",
"order": 138,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 67576,
"items": [],
"name": "zima",
"order": 10535,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 1,
"items": [],
"name": "[cspacer] Spawn",
"order": 37070,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 49777,
"items": [],
"name": "барвиха лакшери",
"order": 48281,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 10535,
"items": [],
"name": "icytoxic",
"order": 49777,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"id": 138,
"items": [
{
"clients": 0,
"id": 10425,
"items": [],
"name": "ещё одни тупые няшки",
"order": 0,
"parent_id": 138,
"topic": ""
}
],
"name": "тупые няшки",
"order": 67576,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 109573,
"items": [],
"name": "АА",
"order": 109570,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109577,
"items": [],
"name": "aloha92",
"order": 109573,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109580,
"items": [],
"name": "ццццццццццццц",
"order": 109577,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 109581,
"items": [],
"name": "гта",
"order": 109580,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 109582,
"items": [],
"name": "practeam",
"order": 109581,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109584,
"items": [],
"name": "rust",
"order": 109582,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 109589,
"items": [],
"name": "kook",
"order": 109584,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 109591,
"items": [],
"name": "5252",
"order": 109589,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109592,
"items": [],
"name": "кумар",
"order": 109591,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109593,
"items": [],
"name": "1414",
"order": 109592,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109596,
"items": [],
"name": "555555",
"order": 109593,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 109597,
"items": [],
"name": "vitya 222222",
"order": 109596,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109598,
"items": [],
"name": "Шалашик",
"order": 109597,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109599,
"items": [],
"name": "бугульмат",
"order": 109598,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109600,
"items": [],
"name": "123",
"order": 109599,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109601,
"items": [],
"name": "АНАТОЛИЙ И АНАКОЛИЙ",
"order": 109600,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 109603,
"items": [],
"name": "123123",
"order": 109601,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "GkZuV3dGYaiaE1+3ok+RVcXzyWw=",
"platform": "Linux",
"created": 1702251402,
"uptime": 46937,
"steam_id": null,
"domain": null,
"id": 11489053,
"ip": "94.154.1.86",
"port": 9987,
"query": 10011,
"project_id": null,
"color": 0,
"city": "Nuremberg",
"description": "Welcome to void\nНайти канал: CTRL + F => Название",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1780975400,
"last_online": 1781022626,
"icon": null,
"name": "void",
"connect": "94.154.1.86:9987",
"request": "94.154.1.86:10011",
"map": null,
"gamemode": null,
"version": "3.13.7 Build: 1655727713",
"numplayers": 43,
"maxplayers": 256,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 72,
"add_date": 1776028816,
"last_update": 1781022626,
"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": 56,
"language": "de",
"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/11489053");
$data = json_decode($json, true);
var_dump($data);