API dla ▚▞ MigosMc.net 26.1.2 - 1.16.5 Вайп был 01.05 ▞▚ ⁂ Сурв, Гриф, Мини-Игры, RolePlay, Анархия, MSO RPG
JSON dla programów, stron i innych
text
json
{
"response": {
"steam_id": null,
"domain": "mc.holycraft.pro",
"id": 10824836,
"ip": "194.147.90.105",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"2p_fR-Djhu\",\"type\":\"paragraph\",\"data\":{\"text\":\"топовый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервертоповый сервер\\n\"}}]",
"game": 9000034,
"owner": 109877,
"boosts": 1,
"last_offline": 1779235541,
"last_online": 1780574734,
"icon": null,
"name": "▚▞ MigosMc.net 26.1.2 - 1.16.5 Вайп был 01.05 ▞▚ ⁂ Сурв, Гриф, Мини-Игры, RolePlay, Анархия, MSO RPG",
"connect": "mc.holycraft.pro:25565",
"request": "194.147.90.105:25565",
"map": null,
"gamemode": "FML",
"version": "01.05, 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.10, 1.10.1, 1.10.2, 1.11, 1.11.1, 1.11.2, 1.12, 1.12.1, 1.12.2, 1.13, 1.13.1, 1.13.2, 1.14, 1.14.1, 1.14.2, 1.14.3, 1.14.4, 1.15, 1.15.1, 1.15.2",
"numplayers": 23742,
"maxplayers": 50000,
"bots": 0,
"secured": null,
"private": null,
"country": "RU",
"status": true,
"votes": 1,
"points": 127,
"add_date": 1767568037,
"last_update": 1780574734,
"banned": true,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": null,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "erbarian",
"avatar": "2b8b25e8-ac1a-4db1-b8d3-6d090e542d36.jpg"
},
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/10824836");
$data = json_decode($json, true);
var_dump($data);