Arma 2: Operation Arrowhead
API для RU66|ElectroClub Epoch 1.0.7.1|PvP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/675735json
{
"response": {
"steam_id": "90284573438024712",
"domain": null,
"id": 675735,
"ip": "178.211.184.227",
"port": 3202,
"query": 3203,
"color": 0,
"city": "Pervouralsk",
"description": "",
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1774221713,
"score": null,
"last_online": 1776453036,
"icon": null,
"name": "RU66|ElectroClub Epoch 1.0.7.1|PvP",
"connect": "178.211.184.227:3202",
"request": "178.211.184.227:3203",
"map": "Napf",
"gamemode": "RU66 DayZ Epoch Napf 1.0.7.1",
"version": "1.64.144629",
"numplayers": 2,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 36,
"add_date": 1670197388,
"last_update": 1776453036,
"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": 24,
"language": "ru",
"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/675735");
$data = json_decode($json, true);
var_dump($data);