Minecraft
API für ------------[-- Jujutsu Arai --]------------ Perma Death!
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7426926json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7426926,
"ip": "185.83.152.92",
"port": 25575,
"query": 25575,
"color": 0,
"city": "Treeton",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1776816238,
"score": 0,
"last_online": 1776821440,
"icon": null,
"name": "------------[-- Jujutsu Arai --]------------ Perma Death!",
"connect": "185.83.152.92:25575",
"request": "185.83.152.92:25575",
"map": null,
"gamemode": null,
"version": "Ketting 1.20.1",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": null,
"private": null,
"country": "GB",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1739203396,
"last_update": 1776821440,
"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": 1305,
"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/7426926");
$data = json_decode($json, true);
var_dump($data);