Arma 2: Operation Arrowhead
API для Stomping Grounds PVE~Militarized/Custom Everything/AI Patrols/H
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5606666json
{
"response": {
"steam_id": "90284569615591436",
"domain": null,
"id": 5606666,
"ip": "63.251.42.82",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Dallas",
"description": null,
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1776326514,
"score": 0,
"last_online": 1776453031,
"icon": null,
"name": "Stomping Grounds PVE~Militarized/Custom Everything/AI Patrols/H",
"connect": "63.251.42.82:2302",
"request": "63.251.42.82:2303",
"map": "Chernarus",
"gamemode": "DayZ Epoch Chernarus",
"version": "1.64.144629",
"numplayers": 4,
"maxplayers": 30,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 44,
"add_date": 1723664365,
"last_update": 1776453031,
"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": 10,
"language": "en",
"parked": false,
"app": {
"id": 62,
"steam_id": 33930,
"name": "Arma 2: Operation Arrowhead",
"url": "arma-2-operation-arrowhead"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/5606666");
$data = json_decode($json, true);
var_dump($data);