Arma 3
API для Arma Addicts - 24\7 Dynamic Special Ops II
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11448477json
{
"response": {
"steam_id": "90283736607650833",
"domain": null,
"id": 11448477,
"ip": "198.244.254.117",
"port": 14817,
"query": 14818,
"color": 0,
"city": "London",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776819150,
"score": 0,
"last_online": 1776627121,
"icon": null,
"name": "Arma Addicts - 24\\7 Dynamic Special Ops II",
"connect": "198.244.254.117:14817",
"request": "198.244.254.117:14818",
"map": "lythium",
"gamemode": "AA_DSOI_V2",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 22,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774977946,
"last_update": 1776819150,
"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": 3923,
"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/11448477");
$data = json_decode($json, true);
var_dump($data);