Minecraft
API für www.dms.yt
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7272513json
{
"response": {
"steam_id": null,
"domain": "play.dms.yt",
"id": 7272513,
"ip": "51.159.9.15",
"port": 25565,
"query": 25565,
"color": 0,
"city": "Paris",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1768642761,
"score": 0,
"last_online": 1776093643,
"icon": null,
"name": "www.dms.yt",
"connect": "play.dms.yt:25565",
"request": "51.159.9.15:25565",
"map": null,
"gamemode": "FML",
"version": "BungeeCord 1.8.x-1.12.x",
"numplayers": 0,
"maxplayers": 4000,
"bots": 0,
"secured": null,
"private": null,
"country": "FR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1736690407,
"last_update": 1776093643,
"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": 2719,
"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/7272513");
$data = json_decode($json, true);
var_dump($data);