DayZ
API для KnGrG Lost Humanity PVE - Banov Frost: Invasion CZ/EN WIPED!
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8411486json
{
"response": {
"steam_id": "90284746428388382",
"domain": null,
"id": 8411486,
"ip": "93.99.173.70",
"port": 2622,
"query": 2623,
"color": 0,
"city": "Břeclav",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776670999,
"score": 0,
"last_online": 1776800543,
"icon": null,
"name": "KnGrG Lost Humanity PVE - Banov Frost: Invasion CZ/EN WIPED!",
"connect": "93.99.173.70:2622",
"request": "93.99.173.70:2623",
"map": "banovfrost",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1743847248,
"last_update": 1776800543,
"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": 3006,
"language": "cs",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/8411486");
$data = json_decode($json, true);
var_dump($data);