API для Hashima_Thrillseekers_Norway
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788550387,
"app": {
"id": 63,
"name": "DayZ",
"steam_id": 221100,
"url": "dayz"
},
"color": 0,
"connect": "83.243.156.21:2302",
"country": "NO",
"domain": null,
"game": 221100,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14394080,
"ip": "83.243.156.21",
"language": "no",
"last_update": 1792900107,
"map": "hashima",
"maxplayers": 60,
"name": "Hashima_Thrillseekers_Norway",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2302,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27016,
"request": "83.243.156.21:27016",
"secured": true,
"status": false,
"steam_id": "90295499384595469",
"version": "1.29.163709",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Олесунн",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1792900107,
"last_online": 1792648395,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 42936,
"wipe_period": null,
"\u0001\u0002": "\u0002\u0001\u0002\u0001\u0002\u0001\u0002\u0005{�E=\u0004�\u0015��\rSpawnerBubaku\u0019�dD\u00043>˥\u000fHashima Islands�W��\u0004���\u0016Hashima Islands Assets�\u001c\u0004��5�\u000e@VPPAdminTools�Ưh\u0004\u0004��\\\u0013Commu",
"\u0002\u0002": "nity Framework\u0005\u0003CCS\u0004dayz\u0007Hunterz\u000eJacob_Mango_V3\u0003VPP\u001eServer Restart every 12 hours.",
"time": "09:42",
"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": 1
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14394080");
$data = json_decode($json, true);
var_dump($data);