API для STALKER UA
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791967348,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "93.127.102.187:2302",
"country": "UA",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18105111,
"ip": "93.127.102.187",
"language": "uk",
"last_update": 1792902132,
"map": "ExclusionZone",
"maxplayers": 40,
"name": "STALKER UA",
"numplayers": 1,
"official": null,
"points": 32,
"port": 2302,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2303,
"request": "93.127.102.187:2303",
"secured": true,
"status": true,
"steam_id": "90295739981078557",
"version": "1.30.164200",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Киев",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1792900828,
"last_online": 1792902132,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 5300,
"wipe_period": null,
"os": "w",
"time": "10:04",
"queue": 0,
"region": -1,
"product": "dayz",
"gametype": "battleye,no3rd,external,privHive,shard123ABC,lqs0,etm12.000000,entm36.000000,mod,10:04",
"dedicated": true,
"dlc_enabled": false,
"first_person": true,
"day_acceleration": 12,
"night_acceleration": 36
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18105111");
$data = json_decode($json, true);
var_dump($data);