Project Zomboid
API für My PZ 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/11436843json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11436843,
"ip": "176.142.109.220",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Vitrolles",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775688126,
"score": 0,
"last_online": 1775673628,
"icon": null,
"name": "My PZ Server",
"connect": "176.142.109.220:16261",
"request": "176.142.109.220:16261",
"map": "Muldraugh, KY;Louisville, KY",
"gamemode": "Project Zomboid",
"version": null,
"numplayers": 0,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977291,
"last_update": 1775688126,
"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": 9629,
"language": "fr",
"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/11436843");
$data = json_decode($json, true);
var_dump($data);