API для Yoki arma
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1794606805,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "173.240.150.111:2000",
"country": "GB",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 20089810,
"ip": "173.240.150.111",
"language": "en",
"last_update": 1794738873,
"map": "A Arma Reforger Server!",
"maxplayers": 12,
"name": "Yoki arma",
"numplayers": 0,
"official": false,
"points": 0,
"port": 2000,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2000,
"request": "173.240.150.111:2000",
"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": 1794738873,
"last_online": 1794659395,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 18617,
"wipe_period": null,
"flags": 0,
"region": "EU",
"visible": true,
"battlEye": false,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "f66b086d-0000af4fbfde",
"pingSiteId": "london",
"scenarioId": "{DFAC5FABD11F2390}Missions/26_CombatOpsEveron.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 141,
"memory": 1026313
},
"directJoinCode": "0192560842",
"detailsUpdatedAt": 1794657832,
"hostedScenarioModId": null,
"supportedGameClientTypes": [
"PLATFORM_PC"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/20089810");
$data = json_decode($json, true);
var_dump($data);