API für Apokalipsa w Gorzanach: Ostatni Bastion
JSON für Programme, Websites und mehr
text
json
{
"response": {
"steam_id": "90285836187045917",
"domain": null,
"id": 11535356,
"ip": "194.54.88.18",
"port": 25628,
"query": 25628,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": "Spokojne Gorzany przestały istnieć. Zamiast warkotu traktorów, na polach i drogach słychać tylko jęki żywych trupów.",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1781320973,
"last_online": 1781247632,
"icon": null,
"name": "Apokalipsa w Gorzanach: Ostatni Bastion",
"connect": "194.54.88.18:25628",
"request": "194.54.88.18:25628",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779355251,
"last_update": 1781320973,
"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": 7594,
"language": "de",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11535356");
$data = json_decode($json, true);
var_dump($data);