Arma 3
API для RUSSIA-ARMA3.RU - Wasteland - Stratis - PvPvE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11327630json
{
"response": {
"steam_id": 90284755507522580,
"domain": null,
"id": 11327630,
"ip": "46.8.221.116",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Moscow",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776440556,
"score": 0,
"last_online": 1776809437,
"icon": null,
"name": "RUSSIA-ARMA3.RU - Wasteland - Stratis - PvPvE",
"connect": "46.8.221.116:2302",
"request": "46.8.221.116:2303",
"map": "Stratis",
"gamemode": "A3Wasteland Stratis - RUSSIA-ARMA3.RU - PvPvE",
"version": "2.20.152984",
"numplayers": 2,
"maxplayers": 43,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1774594195,
"last_update": 1776809437,
"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": 190,
"language": "ru",
"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/11327630");
$data = json_decode($json, true);
var_dump($data);