API для Heart of Chernobyl | S.T.A.L.K.E.R RP (ОБТ)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790628264,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "212.22.93.130:2302",
"country": "RU",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17382314,
"ip": "212.22.93.130",
"language": "ru",
"last_update": 1792628677,
"map": "ExclusionZone",
"maxplayers": 80,
"name": "Heart of Chernobyl | S.T.A.L.K.E.R RP (ОБТ)",
"numplayers": 0,
"official": null,
"points": 30,
"port": 2302,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2303,
"request": "212.22.93.130:2303",
"secured": true,
"status": true,
"steam_id": "90295465669220380",
"version": "1.30.164078",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Москва",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1792580188,
"last_online": 1792628677,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 9099,
"wipe_period": null,
"\u0001\u0007": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0014��N�\u0004���x!STALKER: Area Of Decay ApocalypseC\u001c\u0018�\u0004����#S.T.A.L.K.E.R.: Area Of Decay Other?kF�\u0004�\b&�\u0012Heart of Chernobyl�e)",
"\u0002\u0007": "�\u0004�xP�\u001cHeart of Chernobyl Equipment ��A\u0004o�P�\u001aHeart of Chernobyl Vehicle�u\u001c�\u0004쎡�\u0010LaStalkerClothes��>\u0004\u001b�\u0015�\u001eHeart of Chernobyl E",
"\u0004\u0007": "ls��Cf\u0004e�ĭ\u0017STALKER Equipment ReTex>�K�\u0004�CZ�\u0011STALKER Equipment�C\u000e�\u0004�\u0001\u0003f�\u0003SFP\u001c���\u0004��\u0001\u0002�\u000fSFP ANIM PLAGIN�\u0010B^\u0004�MU]\fBuilderItems\f��",
"\u0005\u0007": "�\u0004 ���\u000eDabs Framework\u0012ǎ�\u00044ʏ�\nTraderPlus܂�H\u0004\u001d�(�!S.T.A.L.K.E.R.: Area Of Decay Map!�%�\u0004\u0004��\\\u0013Community Framework\u0015\u000baffenb3rtV2\u0007",
"\u0006\u0007": "aod_dlc\u0007aod_exp\u0007aod_map\u0007aod_set\tBloodshot\u0012C4BaseRaidbyDmitri\nCodeLockv3\u0003dab\u0004dayz\u0002DF\u0016EnisamNewHorizonObject\tEnisamRPG\u0005FIDOv\u0006Fire",
"\u0007\u0007": "CA\u0005GLy6a\u000eJacob_Mango_V3\u0010LaStalkerClothes\fNotABananaV3\u0004Shiz\u0003VPP\u0001\u0002",
"time": "06:31",
"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": 12,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/17382314");
$data = json_decode($json, true);
var_dump($data);