Arma 3
API для Bro-Nation - #10 Reconnaissance
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/6024403json
{
"response": {
"steam_id": "90284590247170049",
"domain": null,
"id": 6024403,
"ip": "162.202.74.217",
"port": 2702,
"query": 2703,
"color": 0,
"city": "San Antonio",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776390818,
"score": 0,
"last_online": 1776488436,
"icon": null,
"name": "Bro-Nation - #10 Reconnaissance",
"connect": "162.202.74.217:2702",
"request": "162.202.74.217:2703",
"map": "Cam_Lao_Nam",
"gamemode": "CamLaoNam Recon Ops",
"version": "2.20.152984",
"numplayers": 3,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 34,
"add_date": 1727445146,
"last_update": 1776488436,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 132,
"language": "en",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/6024403");
$data = json_decode($json, true);
var_dump($data);