Arma 3
API для [FR]-Liberation RX -FRANCE-
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3594420json
{
"response": {
"steam_id": "90284750829445123",
"domain": null,
"id": 3594420,
"ip": "94.250.209.253",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Munich",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776820396,
"score": null,
"last_online": 1776807754,
"icon": null,
"name": "[FR]-Liberation RX -FRANCE-",
"connect": "94.250.209.253:2302",
"request": "94.250.209.253:2303",
"map": "Altis",
"gamemode": "-= Liberation RX - FRANCE - v2.8.9Fr =-",
"version": "2.20.152984",
"numplayers": 3,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 14,
"add_date": 1711396753,
"last_update": 1776820396,
"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": 3192,
"language": "de",
"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/3594420");
$data = json_decode($json, true);
var_dump($data);