API für StrofaraCraft v4
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 9752129,
"ip": "88.198.15.205",
"port": 25595,
"query": 25595,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 9000034,
"owner": null,
"boosts": 1,
"last_offline": 1768641108,
"last_online": 1780589540,
"icon": null,
"name": "StrofaraCraft v4",
"connect": "88.198.15.205:25595",
"request": "88.198.15.205:25595",
"map": null,
"gamemode": null,
"version": "1.21.10",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": null,
"private": null,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1752327662,
"last_update": 1780589540,
"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": 3176,
"language": "de",
"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/9752129");
$data = json_decode($json, true);
var_dump($data);