DayZ
API для UA S.T.A.L.K.E.R.s Reborn Closed Alpha | stalkers-reborn.com
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6857405json
{
"response": {
"steam_id": "90284903306758154",
"domain": null,
"id": 6857405,
"ip": "77.87.154.73",
"port": 2402,
"query": 27017,
"color": 0,
"city": "Vinnytsia",
"description": null,
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1776876755,
"score": 0,
"last_online": 1777324269,
"icon": null,
"name": "UA S.T.A.L.K.E.R.s Reborn Closed Alpha | stalkers-reborn.com",
"connect": "77.87.154.73:2402",
"request": "77.87.154.73:27017",
"map": "Dz_map",
"gamemode": null,
"version": "1.29.162510",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": true,
"country": "UA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1733920363,
"last_update": 1777324269,
"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": 2272,
"language": "uk",
"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/6857405");
$data = json_decode($json, true);
var_dump($data);