API для SKMDC Reforger Server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794256882,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "35.92.118.84:2001",
"country": "US",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19884010,
"ip": "35.92.118.84",
"language": "en",
"last_update": 1794599589,
"map": "GameMaster Arland (REAPER CORE)",
"maxplayers": 8,
"name": "SKMDC Reforger Server",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2001,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2001,
"request": "35.92.118.84:2001",
"secured": true,
"status": false,
"steam_id": null,
"version": "1.9.0.37",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Бордман",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794599589,
"last_online": 1794258810,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 16161,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "0-000000000030",
"pingSiteId": "los_angeles",
"scenarioId": "{3C8FE62E056EE529}Missions/REAPER_GM_Arland.conf",
"lastJoinedAt": null,
"platformName": "LINUX",
"runtimeStats": {
"fps": 791,
"memory": 194740
},
"directJoinCode": "0086026207",
"detailsUpdatedAt": 1794256331,
"hostedScenarioModId": "5EB139459EBF5C16",
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19884010");
$data = json_decode($json, true);
var_dump($data);