Minecraft
API für Serwer jest aktualnie wyłączony! Hosting Serwerów Minecraft - www.MineHost.pl
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10761432json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10761432,
"ip": "51.83.200.170",
"port": 22638,
"query": 22638,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1768642113,
"score": 0,
"last_online": 1776103842,
"icon": null,
"name": "Serwer jest aktualnie wyłączony! Hosting Serwerów Minecraft - www.MineHost.pl",
"connect": "51.83.200.170:22638",
"request": "51.83.200.170:22638",
"map": null,
"gamemode": null,
"version": "§c§oOffline",
"numplayers": 0,
"maxplayers": 0,
"bots": 0,
"secured": null,
"private": null,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766259798,
"last_update": 1776103842,
"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": 4321,
"language": "pl",
"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/10761432");
$data = json_decode($json, true);
var_dump($data);