Project Zomboid
API для Play Dead: a Project Zomboid Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8977645json
{
"response": {
"steam_id": "90284709319161863",
"domain": null,
"id": 8977645,
"ip": "208.75.182.225",
"port": 27135,
"query": 27135,
"color": 0,
"city": "Dallas",
"description": "Welcome to your Indifferent Broccoli Project Zomboid server",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1774362716,
"score": 0,
"last_online": 1776840621,
"icon": null,
"name": "Play Dead: a Project Zomboid Server",
"connect": "208.75.182.225:27135",
"request": "208.75.182.225:27135",
"map": "DSERV;DoubleDeckerBus;MC Connec",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1746800356,
"last_update": 1776840621,
"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": 322,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8977645");
$data = json_decode($json, true);
var_dump($data);