DayZ
API для [UA|EU] OutLife Chernarus+ | 3PP | Map | Party
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11322429json
{
"response": {
"steam_id": "90284573514164247",
"domain": null,
"id": 11322429,
"ip": "141.95.70.15",
"port": 2402,
"query": 27022,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776308513,
"score": 0,
"last_online": 1776448969,
"icon": null,
"name": "[UA|EU] OutLife Chernarus+ | 3PP | Map | Party",
"connect": "141.95.70.15:2402",
"request": "141.95.70.15:27022",
"map": "chernarusplus",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 3,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1774593976,
"last_update": 1776448969,
"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": 2120,
"language": "de",
"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/11322429");
$data = json_decode($json, true);
var_dump($data);