Arma 2: Operation Arrowhead
API для Arma 2: Dayz Epoch - Powered by GTXGaming.co.uk
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8813270json
{
"response": {
"steam_id": "90283572238353436",
"domain": null,
"id": 8813270,
"ip": "188.64.33.2",
"port": 2305,
"query": 2306,
"color": 0,
"city": "Coventry",
"description": null,
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1775194331,
"score": 0,
"last_online": 1776195660,
"icon": null,
"name": "Arma 2: Dayz Epoch - Powered by GTXGaming.co.uk",
"connect": "188.64.33.2:2305",
"request": "188.64.33.2:2306",
"map": "Chernarus",
"gamemode": "DayZ Epoch Chernarus",
"version": "1.64.144629",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1746093887,
"last_update": 1776195660,
"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": 96,
"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/8813270");
$data = json_decode($json, true);
var_dump($data);