Project Zomboid
API für Final Days of Humanity
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/7617581json
{
"response": {
"steam_id": "90285665428741129",
"domain": null,
"id": 7617581,
"ip": "172.240.71.175",
"port": 27070,
"query": 27070,
"color": 0,
"city": "Chicago",
"description": "Final Days of Humanity est 2021 <line> PvE. Long term play. Slow shamblers",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1778598781,
"score": 0,
"last_online": 1778627417,
"icon": null,
"name": "Final Days of Humanity",
"connect": "172.240.71.175:27070",
"request": "172.240.71.175:27070",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.18",
"numplayers": 2,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1739481475,
"last_update": 1778627417,
"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": 63,
"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/7617581");
$data = json_decode($json, true);
var_dump($data);