API для General Jim's Badlands
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792542257,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "83.108.82.90:2314",
"country": "NO",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18757311,
"ip": "83.108.82.90",
"language": "no",
"last_update": 1792880574,
"map": "nasdara",
"maxplayers": 60,
"name": "General Jim's Badlands",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2314,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27021,
"request": "83.108.82.90:27021",
"secured": true,
"status": false,
"steam_id": "90295420627520515",
"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": 1792880574,
"last_online": 1792544272,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 64947,
"wipe_period": null,
"\u0001\u0006": "\u0002\u0001\u0002\u0004\u0001\u0002,���\u0013��V\u0003\u0004,��}\u000eBed-Respawningb�\u0002b\u0004��\u000e�\u0017Umbrella Clothing AdminL��\u0004ծ��\fGhost Walker3�ȇ\u0004�1W�\u0010MMG Base Storage�e\u0007\u0017\u0004\u0007�\u0011�\fU",
"\u0002\u0006": "nlimitedALeL��^\u0004����\u001aNo Vehicle Damage Complete����\u0004+dڨ\u000fAmmoStackBullet��Kf\u0004[]�\u000e[CnG]UAZ_31514�PFz\u0004�\u0015��\rSNAFU_Weaponsm�n�\u0004ԛ�",
"\u0004\u0006": "Framework�q��\u00041�@�\f[CnG]UAZ_452�p\f\f\u0004h\n��\u0010[CnG]Core_Bundle�y\u0003|\u0004����\u001dBaseBuildingPlus 1.30 EXP FixG|�/\u0004�p�e\u0010BaseBuildingPlusp�'�\u0004",
"\u0005\u0006": "T��l\rVPPAdminTools!�%�\u0004\u0004��\\\u0013Community Framework\u0012\u0003ALE\u0010Aussiecrayz_Mods\u0003BBP\u000bchill_grill\u000bcybermonkey\u0003dab\nDarksiders\u0004dayz\u000eJacob_Man",
"\u0006\u0006": "go_V3\u000fMightyMoitzbert\tRFFSHeliz\u0010SNAFU_Weapons_V1\bSobrMods\tSongsLoad\u0013SongWeekendWarriors\tTommyPDev\u0003VPP\bzmg_bbpf\u0001\u0002",
"time": "15:13",
"queue": 0,
"platform": "win",
"timeLeft": "15",
"dedicated": "1",
"clientPort": "0",
"listentype": "d",
"dlc_enabled": true,
"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/18757311");
$data = json_decode($json, true);
var_dump($data);