API для Sweet.yt] Вайп состоялся. Добро пожаловать. Снова. 12-й сезон, прямо сейчас...[
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": null,
"domain": "ru.candymine.ru",
"id": 7059824,
"ip": "92.63.189.53",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Nizhnevartovsk",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1780604010,
"last_online": 1780227725,
"icon": null,
"name": "Sweet.yt] Вайп состоялся. Добро пожаловать. Снова. 12-й сезон, прямо сейчас...[",
"connect": "ru.candymine.ru:25565",
"request": "92.63.189.53:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1735670650,
"last_update": 1780604010,
"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": 5083,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7059824");
$data = json_decode($json, true);
var_dump($data);