Project Zomboid
API для LA MAZMORRA
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489018json
{
"response": {
"steam_id": "90285620792646668",
"domain": null,
"id": 11489018,
"ip": "64.20.44.78",
"port": 25588,
"query": 25588,
"color": 0,
"city": "Secaucus",
"description": "LA MAZMORRA // PVP// PVE //SAFEZONE RP //BANDITS // KI5 //CATS// ALL QOL// gm.link/u188769",
"game": 108600,
"owner": 188769,
"boosts": 1,
"last_offline": 1778493179,
"score": 5,
"last_online": 1778502612,
"icon": null,
"name": "LA MAZMORRA",
"connect": "64.20.44.78:25588",
"request": "64.20.44.78:25588",
"map": "map_distanciado;rv2;rvupdate;ma",
"gamemode": "Project Zomboid",
"version": "42.16",
"numplayers": 0,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 2,
"points": 92,
"add_date": 1775997563,
"last_update": 1778502612,
"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": 15,
"language": "en",
"parked": false,
"app": {
"id": 71,
"steam_id": 108600,
"name": "Project Zomboid",
"url": "project-zomboid"
},
"server_owner": {
"username": "alejandro_mikepaka",
"avatar": "de2a0c39-a16d-4cb3-a4bd-dd7f6077a9aa.jpg",
"last_online": 1776456616
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489018");
$data = json_decode($json, true);
var_dump($data);