Arma 3
API для BTC_Altis
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10878192json
{
"response": {
"steam_id": "90283651733177365",
"domain": null,
"id": 10878192,
"ip": "62.149.167.63",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Ponte San Pietro",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1774813931,
"score": 0,
"last_online": 1776825715,
"icon": null,
"name": "BTC_Altis",
"connect": "62.149.167.63:2302",
"request": "62.149.167.63:2303",
"map": "Altis",
"gamemode": "-= Liberation RX =-",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 22,
"bots": 0,
"secured": false,
"private": true,
"country": "IT",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1768319420,
"last_update": 1776825715,
"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": 1852,
"language": "it",
"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/10878192");
$data = json_decode($json, true);
var_dump($data);