API для [SG/TH] Intelligent DayZ | Hardcore AI Camps | Toxic Mummies
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790360474,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "143.20.142.213:2302",
"country": "TH",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17114503,
"ip": "143.20.142.213",
"language": null,
"last_update": 1794752421,
"map": "chernarusplus",
"maxplayers": 60,
"name": "[SG/TH] Intelligent DayZ | Hardcore AI Camps | Toxic Mummies",
"numplayers": 1,
"official": null,
"points": 31,
"port": 2302,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2305,
"request": "143.20.142.213:2305",
"secured": true,
"status": true,
"steam_id": "90297520423318549",
"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": 1794747618,
"last_online": 1794752421,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 6690,
"wipe_period": null,
"time": "07:44",
"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": 2
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17114503");
$data = json_decode($json, true);
var_dump($data);