API для Another Zone STALKER RP
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788988631,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "185.207.214.240:2302",
"country": "RU",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 15784587,
"ip": "185.207.214.240",
"language": "ru",
"last_update": 1794690016,
"map": "IsolationZone",
"maxplayers": 60,
"name": "Another Zone STALKER RP",
"numplayers": 0,
"official": null,
"points": 30,
"port": 2302,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2303,
"request": "185.207.214.240:2303",
"secured": true,
"status": false,
"steam_id": "90297472282515462",
"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": 1794690016,
"last_online": 1794689408,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 9410,
"wipe_period": null,
"\u0001\u0005": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0011�c0�\u0004\\�`�\u0006AZ CFG��V@\u0004�V(�\fAZ Equipment \u000bʜ\u0004k\u0014��\tAZ Weapon`ԨT\u0004P���\u0006AZ DLC\u0014�,p\u0004����\u0007AZ Corej#��\u0004����\nNH Objects��Cf\u0004e�ĭ",
"\u0002\u0005": "\u0017STALKER Equipment ReTex>�K�\u0004�CZ�\u0011STALKER Equipment\u0016w�\u0013\u0004q\r��\u0007KGB.LIB�\u0010B^\u0004�MU]\fBuilderItems���=\u0004�(��\u0012DayZ Editor Loader�{��\u00044ʏ�",
"\u0004\u0005": "�\\\u0013Community Framework\r\u0012C4BaseRaidbyDmitri\u0003dab\u0004dayz\u0016EnisamNewHorizonObject\tEnisamRPG\u0011FrostbiteOfficial\u0005GLy6a\u0006heller\rIsolationZo",
"\u0005\u0005": "ne\u000eJacob_Mango_V3\u0003KGB\fNotABananaV3\u0003VPP\u0001\u0002",
"time": "19:18",
"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": 1
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/15784587");
$data = json_decode($json, true);
var_dump($data);