API для The Crazy Swedes - Test server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791967344,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "87.227.110.140:2302",
"country": "SE",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18104981,
"ip": "87.227.110.140",
"language": null,
"last_update": 1794769811,
"map": "enoch",
"maxplayers": 60,
"name": "The Crazy Swedes - Test server",
"numplayers": 3,
"official": null,
"points": 0,
"port": 2302,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2303,
"request": "87.227.110.140:2303",
"secured": true,
"status": true,
"steam_id": "90297537142414337",
"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": 1794769230,
"last_online": 1794769811,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 44696,
"wipe_period": null,
"\u0001\t": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u001d���\u0006\u0004:_A�\fMegaFoodPack �dj\u0004k'��\u0016Helicopter landing pad�S��\u0004\f�Ux\u000fCJ187-MoreMoneyK�\u0018�\u0004;��y\u000fCJ187-MoreItemsI\u0001\u0002P�\u0004�|��\rDH C",
"\u0002\t": "offee Mod�\u0011'H\u0004��i�\u0011Collectables Plus��\u0015�\u0004'0��\u001cAlevaric's Clothing Overhaulތ�8\u0004�+\u0011�\rFC_Fish_Equip!�W�\u0004&#��!ProjectHope Survivor",
"\u0004\t": "nsionZ�\u0001\u00027\u0004rz�\u001bBullet Stacking - More Ammo9I\u001a�\u0004I�\u000bq\u001eBaseBuildingItemStackandRepair<�xY\u0004�H�\u000eBBPItemPackFix\u001a�HG\u0004C���\u000bBBPItemPac",
"\u0005\t": "k&��0\u0004�p�e\u0010BaseBuildingPlus���\u0007\u0004��\u001eb\bCodeLockxp�?\u0004&�M�\bDayZ Dog���=\u0004�(��\u0012DayZ Editor Loader�$�E\u0004�\u0001\u0003!~\u0017DayZ-Expansion-LicensedVq",
"\u0006\t": "��\u0004\u0001\u0003�R�\u0015DayZ-Expansion-Bundle6\u0006�H\u0004�l��\u0019DayZ-Expansion-Animations\u0017�\u000f\u000e\u0004��Kz\u001bPvZmoD Customisable Zombies�7B\u001a\u0004\f�'�\u0017Livonia Autumn",
"\u0007\t": "Overhaul�u�;\u0004�'9]\u0016Community Online Tools!�%�\u0004\u0004��\\\u0013Community Framework\f���\u0004 ���\u000eDabs Framework\u001a\u0003ALV\u0003BBP\u0006biggus\tBloodshot\u000bcftools",
"\b\t": "Root\fCJ187_Public\nCodeLockv3\u0012CustomDayZServices\u0003dab\u0004dayz\bDHPublic\tExpansion\u0003fcp\u0006GazKey\u0007Hunterz\tIcemanHBS\u000eJacob_Mango_V3\u0005Liven\u0003M",
"\t\t": "FP\u0004Nika\tRedFalcon\rServerPackEOP\u000eTeddysammlerV2\u0007Z6Signs\bzmg_bbpf\u0004Zyro\u0001\u0002",
"time": "07:22",
"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/18104981");
$data = json_decode($json, true);
var_dump($data);