Arma 3
API для [RU] Gladiuz #2 [TEST]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11448519json
{
"response": {
"steam_id": "90283411330655248",
"domain": null,
"id": 11448519,
"ip": "37.230.137.106",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Moscow",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1774977947,
"score": 0,
"last_online": 1776858107,
"icon": null,
"name": "[RU] Gladiuz #2 [TEST]",
"connect": "37.230.137.106:2402",
"request": "37.230.137.106:2403",
"map": "gc_krayina",
"gamemode": "Суджа (Операция \"Поток\")",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 76,
"bots": 0,
"secured": false,
"private": true,
"country": "RU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774977947,
"last_update": 1776858107,
"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": 2946,
"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/11448519");
$data = json_decode($json, true);
var_dump($data);