API для HoD_Anastara
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788550461,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "206.189.233.72:2302",
"country": "US",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14407807,
"ip": "206.189.233.72",
"language": null,
"last_update": 1790603455,
"map": "anastara",
"maxplayers": 60,
"name": "HoD_Anastara",
"numplayers": 0,
"official": null,
"points": 30,
"port": 2302,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "206.189.233.72:27016",
"secured": true,
"status": true,
"steam_id": "90293613438320647",
"version": "1.29.163709",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "North Bergen",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1790537512,
"last_online": 1790603455,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7162,
"wipe_period": null,
"\u0001\t": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u001f��\u0016\u0004��8m\rFlipTransport��ı\u0004��\u000e�\u0012VanillaCarsUpNoDmgs\u000f��\u0004�nn�\u000fCan Bury Barrel�Â\u0001\u0001\u0004�1W�\u0010MMG Base Storage\\۠ \u0004 �m�\u000eTriump",
"\u0002\t": "hTentFixG�E`\u0004� \u001c�\u000fPristine Repair��]\u001a\u0004T��l\rVPPAdminTools�ZFu\u0004\u0005~�l\u000fBreachingcharge��i�\u00047M��\tCrocodileŶ'�\u0004�?\\�\bgebsfishs\u0016�\u0014\u0004�u��",
"\u0004\t": "\u000e�\u000eParagonClothes�!�\u00044\tm�\u000fParagon Storagec�\f�\u0004����\u0018Paragon Arsenal Fix 1.29����\u0004�\u0011��\u000fParagon Arsenal21 �\u0004\u001ar\u001b�\u0016Paragon Gear and",
"\u0005\t": "Armor�K�\u0004����\u001bMMG - Mightys Military Gear\u001b\u0018�\u001e\u0004��\u001eb\bCodeLock\u001e\n�?\u0004�z�\nBS KeyRoomG|�/\u0004�p�e\u0010BaseBuildingPlus\u0013�uZ\u0004�l��\u0019DayZ-Expan",
"\u0006\t": "sion-Animationsr�\"�\u0004�\u0001\u0003!~\u0017DayZ-Expansion-Licensed}��\u0004\u0001\u0003�R�\u0015DayZ-Expansion-Bundlet�Q�\u0004hd\u001c�\u0010H.o.D.ServerPackd\u0018p�\u0004p�B�\bAnastara�.",
"\u0007\t": "�\u0010\u0004 ���\u000eDabs Frameworkό�m\u0004\u0007�\u0011�\u001aAuto Run Unlimited Stamina�Ưh\u0004\u0004��\\\u0013Community Framework\u001b\u00037ka\u0003ALE\rBATTLESQUATCH\u0003BBP\u0002CJ\nCodeLockv",
"\b\t": "3\u000bcybermonkey\u0003dab\u0004dayz\u0006DerKev\tExpansion\tforesight\u0003Geb\u0004HDSN\u0003HoD\u0007Hunterz\u000eJacob_Mango_V3\u0002JG\u000fMightyMoitzbert\u0003One\u0007Paragon\u0005SBESS\u0007skad",
"\t\t": "jna\u000eTriumphTentFix\u0003VPP\tWardog.v3\nZenarchist\rsolo/duo/trio",
"time": "12:23",
"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": "129",
"day_acceleration": 12,
"players_complete": true,
"night_acceleration": 4
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14407807");
$data = json_decode($json, true);
var_dump($data);