Avorion
API für Mad Dawgs Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/9977237json
{
"response": {
"steam_id": "90284715745822730",
"domain": null,
"id": 9977237,
"ip": "176.57.146.41",
"port": 27000,
"query": 27020,
"color": 0,
"city": "Frankfurt am Main",
"description": "A Star System, Far from Bdorian Prime and the defences of Fort BDefiance & the Realms of Bdoogle",
"game": 445220,
"owner": null,
"boosts": 1,
"last_offline": 1775326290,
"score": 0,
"last_online": 1776776412,
"icon": null,
"name": "Mad Dawgs Server",
"connect": "176.57.146.41:27000",
"request": "176.57.146.41:27020",
"map": "753bcbc2",
"gamemode": "Avorion",
"version": "2.5.13.44140",
"numplayers": 4,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 95,
"add_date": 1754897135,
"last_update": 1776776412,
"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": 3,
"language": "de",
"parked": false,
"app": {
"id": 172,
"steam_id": 445220,
"name": "Avorion",
"url": "avorion"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9977237");
$data = json_decode($json, true);
var_dump($data);