Minecraft
API для ELMALETINMAGICO NETWORK ✨ ✨ • (1.8.x ⟶ 1.21.x) • TIENDA (🛒) ↪ ¡Visítanos en store.elmaletinmagico.com! •
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10529127json
{
"response": {
"steam_id": null,
"domain": "endurecraft.lat",
"id": 10529127,
"ip": "104.194.11.49",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Piscataway",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775584232,
"score": 0,
"last_online": 1776817284,
"icon": null,
"name": "ELMALETINMAGICO NETWORK ✨ ✨ • (1.8.x ⟶ 1.21.x) • TIENDA (🛒) ↪ ¡Visítanos en store.elmaletinmagico.com! •",
"connect": "endurecraft.lat:25565",
"request": "104.194.11.49:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.13-1.21.11",
"numplayers": 5,
"maxplayers": 2026,
"bots": 0,
"secured": null,
"private": null,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1762516872,
"last_update": 1776817284,
"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": 3403,
"language": "en",
"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/10529127");
$data = json_decode($json, true);
var_dump($data);