Project Zomboid
API für RonxZac
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/11323541json
{
"response": {
"steam_id": "90283110186749953",
"domain": null,
"id": 11323541,
"ip": "104.37.188.86",
"port": 27071,
"query": 27071,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774594040,
"score": 0,
"last_online": 1775732438,
"icon": null,
"name": "RonxZac",
"connect": "104.37.188.86:27071",
"request": "104.37.188.86:27071",
"map": "Muldraugh, KY;map_rv;map_distan",
"gamemode": "Project Zomboid",
"version": "42.14",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774594040,
"last_update": 1775732438,
"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": 6601,
"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/11323541");
$data = json_decode($json, true);
var_dump($data);