Minecraft
API für ʀᴇᴀʟᴍɪɴᴇ● Сервер, где мечты сбываются ● ● 1.21.4+ ● ●
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10737712json
{
"response": {
"steam_id": null,
"domain": "mc.hypecube.pw",
"id": 10737712,
"ip": "194.147.90.179",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Moscow",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775409729,
"score": 0,
"last_online": 1775678456,
"icon": null,
"name": "ʀᴇᴀʟᴍɪɴᴇ● Сервер, где мечты сбываются ● ● 1.21.4+ ● ●",
"connect": "mc.hypecube.pw:25565",
"request": "194.147.90.179:25565",
"map": null,
"gamemode": "FML",
"version": "§c§l❐ §6§lʀ§6§lᴇ§6§lᴀ§6§lʟ§6§lᴍ§6§lɪ§6§lɴ§6§lᴇ§6§l §c§l❐§c §71.16.5-1.21 §c§l❐",
"numplayers": 0,
"maxplayers": 999,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766250134,
"last_update": 1775678456,
"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": 4079,
"language": "ru",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10737712");
$data = json_decode($json, true);
var_dump($data);