API для MOS ITALIA CAMPAGNA UFFICIALE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794393698,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "90.116.170.31:2031",
"country": "FR",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19979504,
"ip": "90.116.170.31",
"language": "fr",
"last_update": 1794692082,
"map": "MOS Italia Takistan Remastered",
"maxplayers": 100,
"name": "MOS ITALIA CAMPAGNA UFFICIALE",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2031,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2031,
"request": "90.116.170.31:2031",
"secured": false,
"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": 1794692082,
"last_online": 1794450679,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 16907,
"wipe_period": null,
"flags": 0,
"region": "EU",
"visible": true,
"battlEye": false,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "777a3e5b-000074606f3d",
"pingSiteId": "frankfurt",
"scenarioId": "{105C031A7F94F484}Missions/MOS_TAKISTAN_REMASTERED.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 60,
"memory": 1189249
},
"directJoinCode": "0107096175",
"detailsUpdatedAt": 1794425834,
"hostedScenarioModId": "6AC777733231ACE9",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19979504");
$data = json_decode($json, true);
var_dump($data);