Project Zomboid
API für [2.5 exp] [Loot and Zombie Respawn In-Game Monthly]
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/11105140json
{
"response": {
"steam_id": 90284119142932500,
"domain": null,
"id": 11105140,
"ip": "170.23.112.129",
"port": 26940,
"query": 26940,
"color": 0,
"city": "San Jose",
"description": "[USA West Coast] PVE-Friendly Hmoob PZ [2.5 exp]",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1775178727,
"score": 0,
"last_online": 1775713213,
"icon": null,
"name": "[2.5 exp] [Loot and Zombie Respawn In-Game Monthly]",
"connect": "170.23.112.129:26940",
"request": "170.23.112.129:26940",
"map": "map_distanciado;map_aquatsar;rv",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 6,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 69,
"add_date": 1770031169,
"last_update": 1775713213,
"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": 50,
"language": "en",
"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/11105140");
$data = json_decode($json, true);
var_dump($data);