Minecraft
API für mc.ru-minecraft.ru ]1.21.11[Официальный сервер румайна! |
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11252311json
{
"response": {
"steam_id": null,
"domain": "mc.ru-minecraft.ru",
"id": 11252311,
"ip": "89.100.121.194",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Dublin",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776451403,
"score": 0,
"last_online": 1776804644,
"icon": null,
"name": "mc.ru-minecraft.ru ]1.21.11[Официальный сервер румайна! |",
"connect": "mc.ru-minecraft.ru:25565",
"request": "89.100.121.194:25565",
"map": null,
"gamemode": null,
"version": "Velocity 1.7.2-1.21.11",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "IE",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1773594910,
"last_update": 1776804644,
"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": 1752,
"language": "en",
"parked": false,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11252311");
$data = json_decode($json, true);
var_dump($data);