Project Zomboid
API for Indifferent Broccoli Project Zomboid Server
JSON for programs, websites and more
text
https://api.gamemonitoring.net/servers/11436661json
{
"response": {
"steam_id": 90284737385439250,
"domain": null,
"id": 11436661,
"ip": "116.202.48.5",
"port": 28630,
"query": 28630,
"color": 0,
"city": "Falkenstein",
"description": "Welcome to your Indifferent Broccoli Project Zomboid server",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1776776549,
"score": 0,
"last_online": 1776792017,
"icon": null,
"name": "Indifferent Broccoli Project Zomboid Server",
"connect": "116.202.48.5:28630",
"request": "116.202.48.5:28630",
"map": "vehicle_interior;Basements;west",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 2,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 71,
"add_date": 1774977280,
"last_update": 1776792017,
"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": 53,
"language": "de",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Code examples
php
<?php
$json = file_get_contents("https://api.gamemonitoring.net/servers/11436661");
$data = json_decode($json, true);
var_dump($data);