Project Zomboid
API für nitrado.net Zomboid
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/11436789json
{
"response": {
"steam_id": "90283712000409616",
"domain": null,
"id": 11436789,
"ip": "134.255.209.27",
"port": 10060,
"query": 10060,
"color": 0,
"city": "Frankfurt am Main",
"description": "hosted by nitrado.net",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774977286,
"score": 0,
"last_online": 1775691017,
"icon": null,
"name": "nitrado.net Zomboid",
"connect": "134.255.209.27:10060",
"request": "134.255.209.27:10060",
"map": "Vehicle_interior; Road from Mon",
"gamemode": "Project Zomboid",
"version": "41.78.18",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977286,
"last_update": 1775691017,
"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": 3562,
"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/11436789");
$data = json_decode($json, true);
var_dump($data);