Project Zomboid
API für Project Zomboid Server
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/11267577json
{
"response": {
"steam_id": "90283803076285448",
"domain": null,
"id": 11267577,
"ip": "37.153.157.66",
"port": 8778,
"query": 8778,
"color": 0,
"city": "Gouda",
"description": "A Project Zomboid Server Hosted By Host Havoc",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774556543,
"score": 0,
"last_online": 1776794424,
"icon": null,
"name": "Project Zomboid Server",
"connect": "37.153.157.66:8778",
"request": "37.153.157.66:8778",
"map": "map_distanciado;Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.15",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": true,
"private": true,
"country": "NL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555512,
"last_update": 1776794424,
"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": 2524,
"language": "nl",
"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/11267577");
$data = json_decode($json, true);
var_dump($data);