Minecraft
API für Cristalix
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9722212json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9722212,
"ip": "147.135.129.55",
"port": 25575,
"query": 25575,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775764963,
"score": 0,
"last_online": 1776008460,
"icon": null,
"name": "Cristalix",
"connect": "147.135.129.55:25575",
"request": "147.135.129.55:25575",
"map": null,
"gamemode": "FML",
"version": "Mohist 1.12.2",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": null,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1752142569,
"last_update": 1776008460,
"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": 3310,
"language": "fr",
"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/9722212");
$data = json_decode($json, true);
var_dump($data);