void 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"channels": {
"onlinecount": 46,
"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": 108522,
"items": [],
"name": "вывыв",
"order": 1,
"parent_id": 0,
"topic": ""
},
{
"clients": 0,
"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": 2,
"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": 108815,
"items": [],
"name": "1231231",
"order": 108522,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108835,
"items": [],
"name": "1111111111111111111111",
"order": 108815,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108838,
"items": [],
"name": "aloha86",
"order": 108835,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108843,
"items": [],
"name": "уебище время 12 48",
"order": 108838,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 108845,
"items": [],
"name": "zxczxczxczxczxczxczxczxczxczxczxc",
"order": 108843,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108849,
"items": [],
"name": "4321",
"order": 108845,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 108858,
"items": [],
"name": "сюда",
"order": 108849,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108859,
"items": [],
"name": "174",
"order": 108858,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108861,
"items": [],
"name": "ДРОЧИМ БП + ШТРАФ ЛЯМ ДВЕСТИ",
"order": 108859,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 108863,
"items": [],
"name": "геи",
"order": 108861,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108864,
"items": [],
"name": "Макаки",
"order": 108863,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108865,
"items": [],
"name": "setr5yht",
"order": 108864,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108866,
"items": [],
"name": "fp0",
"order": 108865,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108867,
"items": [],
"name": "игорьантон",
"order": 108866,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 108869,
"items": [],
"name": "zus",
"order": 108867,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108870,
"items": [],
"name": "minecraft",
"order": 108869,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 108871,
"items": [],
"name": "Hawks",
"order": 108870,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108873,
"items": [],
"name": "зузузузуу",
"order": 108871,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108874,
"items": [],
"name": "Без раков",
"order": 108873,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108876,
"items": [],
"name": "uu",
"order": 108874,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108877,
"items": [],
"name": "LUCKYCHARM",
"order": 108876,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108878,
"items": [],
"name": "ya ueban",
"order": 108877,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108879,
"items": [],
"name": "bobrinaya zhopa",
"order": 108878,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108881,
"items": [],
"name": "2",
"order": 108879,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108882,
"items": [],
"name": "1123",
"order": 108881,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 108884,
"items": [],
"name": "6666",
"order": 108882,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108885,
"items": [],
"name": "1111111111111",
"order": 108884,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 108886,
"items": [],
"name": "каждый из вас бездарная шалава",
"order": 108885,
"parent_id": 0,
"topic": ""
},
{
"clients": 3,
"id": 108887,
"items": [],
"name": "5555",
"order": 108886,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108889,
"items": [],
"name": "форт",
"order": 108887,
"parent_id": 0,
"topic": ""
},
{
"clients": 2,
"id": 108890,
"items": [],
"name": "Шалашик",
"order": 108889,
"parent_id": 0,
"topic": ""
},
{
"clients": 1,
"id": 108891,
"items": [],
"name": "ГЬАААААААААААААААААЖИМУРАД ЭУ ИНА АВА",
"order": 108890,
"parent_id": 0,
"topic": ""
}
]
},
"external_id": "GkZuV3dGYaiaE1+3ok+RVcXzyWw=",
"platform": "Linux",
"created": 1702251402,
"uptime": 4463902,
"steam_id": null,
"domain": null,
"id": 11489053,
"ip": "94.154.1.86",
"port": 9987,
"query": 10011,
"color": 0,
"city": "Nuremberg",
"description": "Welcome to void, check deylary.t.me\nНайти канал: CTRL + F => Название",
"game": 9000043,
"owner": null,
"boosts": 1,
"last_offline": 1780292046,
"last_online": 1780499422,
"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": 64,
"maxplayers": 256,
"bots": 0,
"secured": null,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1776028816,
"last_update": 1780499422,
"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": 39,
"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.cn/servers/11489053");
$data = json_decode($json, true);
var_dump($data);