DayZ
API для BTH | Walking Dead | Chernarus 2035 | PVP | 3PP | Terje+Inedia
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489476json
{
"response": {
"steam_id": "90285636014802949",
"domain": null,
"id": 11489476,
"ip": "212.22.93.107",
"port": 2302,
"query": 2305,
"color": 0,
"city": "Moscow",
"description": null,
"game": 221100,
"owner": 21256,
"boosts": 1,
"last_offline": 1778155385,
"score": 0,
"last_online": 1778541017,
"icon": null,
"name": "BTH | Walking Dead | Chernarus 2035 | PVP | 3PP | Terje+Inedia",
"connect": "212.22.93.107:2302",
"request": "212.22.93.107:2305",
"map": "Chernarus2035",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 80,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1776498780,
"last_update": 1778541017,
"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": 578,
"language": "ru",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": {
"username": "Dietrich",
"avatar": "no.jpg",
"last_online": 1776589381
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489476");
$data = json_decode($json, true);
var_dump($data);