API für ChaosHaven
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90286585374437392",
"domain": null,
"id": 11586265,
"ip": "108.237.4.199",
"port": 27000,
"query": 27020,
"color": 0,
"city": "Oklahoma City",
"description": "Our Server",
"game": 445220,
"owner": null,
"boosts": 1,
"last_offline": 1780650859,
"last_online": 1780632033,
"icon": null,
"name": "ChaosHaven",
"connect": "108.237.4.199:27000",
"request": "108.237.4.199:27020",
"map": "zehjF1pwvm",
"gamemode": "Avorion",
"version": "2.5.13.44140",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357177,
"last_update": 1780650859,
"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": 424,
"language": "en",
"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/11586265");
$data = json_decode($json, true);
var_dump($data);