Minecraft
API für N ᴢᴇꜰꜰʏʀ N Season 1 ·•·· •·
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10777888json
{
"response": {
"steam_id": null,
"domain": "mc.zeffyr.net",
"id": 10777888,
"ip": "145.239.83.180",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Wroclaw",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1775764961,
"score": 0,
"last_online": 1776805865,
"icon": null,
"name": "N ᴢᴇꜰꜰʏʀ N Season 1 ·•·· •·",
"connect": "mc.zeffyr.net:25565",
"request": "145.239.83.180:25565",
"map": null,
"gamemode": "FML",
"version": "Waterfall 1.7.x - 1.21.x",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1766871281,
"last_update": 1776805865,
"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": 4267,
"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/10777888");
$data = json_decode($json, true);
var_dump($data);