Project Zomboid
API für After the Fall 42.16 | PvPvE | Car Claims | Settlements
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10536008json
{
"response": {
"steam_id": "90284543184206851",
"domain": null,
"id": 10536008,
"ip": "40.160.20.9",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Reston",
"description": "This is straight up vanilla for now and unmoderated. It's a public testing ground.",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776258714,
"score": 0,
"last_online": 1776423613,
"icon": null,
"name": "After the Fall 42.16 | PvPvE | Car Claims | Settlements",
"connect": "40.160.20.9:16261",
"request": "40.160.20.9:16261",
"map": "Muldraugh, KY;",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 24,
"maxplayers": 85,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 92,
"add_date": 1762519574,
"last_update": 1776423613,
"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": 6,
"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/10536008");
$data = json_decode($json, true);
var_dump($data);