API для FORSAKEN 3.0 | PVE | TH | AI | BOSS | QUEST | PERK 24.10.26
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788550241,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "49.0.82.10:2302",
"country": "TH",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14371834,
"ip": "49.0.82.10",
"language": "th",
"last_update": 1794683404,
"map": "chernarusplus",
"maxplayers": 5,
"name": "FORSAKEN 3.0 | PVE | TH | AI | BOSS | QUEST | PERK 24.10.26",
"numplayers": 1,
"official": null,
"points": 39,
"port": 2302,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2303,
"request": "49.0.82.10:2303",
"secured": true,
"status": true,
"steam_id": "90297467849038848",
"version": "1.30.164289",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Бангкок",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794675605,
"last_online": 1794683404,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 4745,
"wipe_period": null,
"\u0001\u0001": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0001\u0004dayz\u001dhttps://discord.gg/forsakenth",
"time": "16:10",
"queue": 0,
"platform": "win",
"timeLeft": "15",
"dedicated": "1",
"clientPort": "0",
"listentype": "d",
"dlc_enabled": false,
"environment": "w",
"a2s_protocol": 17,
"allowedBuild": "0",
"first_person": true,
"requiredBuild": "0",
"requiredVersion": "130",
"day_acceleration": 12,
"players_complete": true,
"night_acceleration": 64
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14371834");
$data = json_decode($json, true);
var_dump($data);