Project Zomboid
API для servertest
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6762825json
{
"response": {
"steam_id": 90285606560125980,
"domain": null,
"id": 6762825,
"ip": "194.163.166.102",
"port": 16261,
"query": 16261,
"color": 0,
"city": "Lauterbourg",
"description": "Betaal himol nerges meer voor",
"game": 108600,
"owner": null,
"boosts": 1,
"last_offline": 1778470377,
"score": 0,
"last_online": 1778542218,
"icon": null,
"name": "servertest",
"connect": "194.163.166.102:16261",
"request": "194.163.166.102:16261",
"map": "Muldraugh, KY",
"gamemode": "Project Zomboid",
"version": "41.78.19",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": true,
"country": "FR",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1732713634,
"last_update": 1778542218,
"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": 215,
"language": "fr",
"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/6762825");
$data = json_decode($json, true);
var_dump($data);