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/10405210json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10405210,
"ip": "51.79.76.29",
"port": 27655,
"query": 27655,
"color": 0,
"city": "Montreal",
"description": "Welcome to your Indifferent Broccoli Project Zomboid server",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775822524,
"score": 0,
"last_online": 1775821817,
"icon": null,
"name": "Indifferent Broccoli Project Zomboid Server",
"connect": "51.79.76.29:27655",
"request": "51.79.76.29:27655",
"map": "FortRedstone;RavenCreek;vehicle",
"gamemode": "Project Zomboid",
"version": null,
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "CA",
"status": false,
"votes": 0,
"points": 60,
"add_date": 1759822483,
"last_update": 1775822524,
"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": 674,
"language": "en",
"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/10405210");
$data = json_decode($json, true);
var_dump($data);