Arma 3
API для Unoffical Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4967030json
{
"response": {
"steam_id": "90275629601765394",
"domain": null,
"id": 4967030,
"ip": "38.58.183.34",
"port": 2332,
"query": 2333,
"color": 0,
"city": "Draper",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1768642094,
"score": 0,
"last_online": 1776835267,
"icon": null,
"name": "Unoffical Server",
"connect": "38.58.183.34:2332",
"request": "38.58.183.34:2333",
"map": null,
"gamemode": "Arma 3",
"version": "1.74.142559",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1720136206,
"last_update": 1776835267,
"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": 635,
"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/4967030");
$data = json_decode($json, true);
var_dump($data);