Arma 3
API для Vanguard - DCO Vanilla
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11448644json
{
"response": {
"steam_id": "90283932083978264",
"domain": null,
"id": 11448644,
"ip": "45.92.39.59",
"port": 2316,
"query": 2317,
"color": 0,
"city": "Secaucus",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776019939,
"score": 0,
"last_online": 1776814281,
"icon": null,
"name": "Vanguard - DCO Vanilla",
"connect": "45.92.39.59:2316",
"request": "45.92.39.59:2317",
"map": "Malden",
"gamemode": "Dynamic Combat Ops",
"version": "2.20.153649",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774977949,
"last_update": 1776814281,
"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": 3011,
"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/11448644");
$data = json_decode($json, true);
var_dump($data);