API для #FROM DeathMatch - 1PP | from-dayz.online
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1762519717,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "94.231.79.10:2602",
"country": "UA",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10536857,
"ip": "94.231.79.10",
"language": "uk",
"last_update": 1794688801,
"map": "chernarusplus",
"maxplayers": 20,
"name": "#FROM DeathMatch - 1PP | from-dayz.online",
"numplayers": 9,
"official": null,
"points": 51,
"port": 2602,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2603,
"request": "94.231.79.10:2603",
"secured": true,
"status": true,
"steam_id": "90297432387534874",
"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": 1794542405,
"last_online": 1794688801,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 4066,
"wipe_period": null,
"\u0001\u0001": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0006\u000bcftoolsRoot\u000eCrimsonZamboni\u0004dayz\nliquidrock\u0006QuickZ\tzahorniak/#FROM DayZ game server https://from-dayz.online",
"time": "11:19",
"queue": 0,
"platform": "win",
"timeLeft": "15",
"dedicated": "1",
"clientPort": "0",
"listentype": "d",
"dlc_enabled": false,
"environment": "w",
"a2s_protocol": 17,
"allowedBuild": "0",
"first_person": false,
"requiredBuild": "0",
"requiredVersion": "130",
"day_acceleration": 1,
"players_complete": true,
"night_acceleration": 9999
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10536857");
$data = json_decode($json, true);
var_dump($data);