API for bones Project Zomboid Server
JSON for programs, websites and more
text
json
{
"response": {
"steam_id": "90286958862381059",
"domain": null,
"id": 11098045,
"ip": "172.240.71.201",
"port": 27675,
"query": 27675,
"project_id": null,
"color": 0,
"city": "San Jose",
"description": "Welcome to the server. Zombies are slightly reduced and do not respawn, PVP is off, XP gain slightly increased, Vanilla.",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774156927,
"last_online": 1781364633,
"icon": null,
"name": "bones Project Zomboid Server",
"connect": "172.240.71.201:27675",
"request": "172.240.71.201:27675",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "42.15",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": true,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1770028992,
"last_update": 1781364633,
"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": 1165,
"language": "en",
"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/11098045");
$data = json_decode($json, true);
var_dump($data);