Project Zomboid
API für HurtLockerGaming.com [PvPvE]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/2081560json
{
"response": {
"steam_id": "90284787795318799",
"domain": null,
"id": 2081560,
"ip": "76.226.165.102",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Concord",
"description": "Welcome to Project Zomboid Multiplayer!",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776809595,
"score": null,
"last_online": 1776814820,
"icon": null,
"name": "HurtLockerGaming.com [PvPvE]",
"connect": "76.226.165.102:16261",
"request": "76.226.165.102:16261",
"map": "Xonics Mega Mall;Xonics Mega Ma",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1702029332,
"last_update": 1776814820,
"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": 108,
"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/2081560");
$data = json_decode($json, true);
var_dump($data);