Project Zomboid
API für Indifferent Broccoli Project Zomboid Server
Wir bieten eine breite Auswahl an Integrationsmethoden. Sie können eine davon verwenden oder Ihre eigene mit der JSON-API erstellen. Wenn Sie einen Vorschlag für eine neue Integrationsmethode haben, kontaktieren Sie uns bitte. Kontaktieren Sie uns
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11005138json
{
"response": {
"steam_id": "90284108290762767",
"domain": null,
"id": 11005138,
"ip": "162.55.242.99",
"port": 27885,
"query": 27885,
"color": 0,
"city": "Falkenstein",
"description": "Welcome to your Indifferent Broccoli Project Zomboid server",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775399530,
"score": 0,
"last_online": 1775692218,
"icon": null,
"name": "Indifferent Broccoli Project Zomboid Server",
"connect": "162.55.242.99:27885",
"request": "162.55.242.99:27885",
"map": "Raven Creek B42;Muldraugh_FireD",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1769939105,
"last_update": 1775692218,
"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": 1822,
"language": "de",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid",
"popular_maps_available": false
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11005138");
$data = json_decode($json, true);
var_dump($data);