Arma 2: Operation Arrowhead
API для *[RUS]* GoldKey Epoch Napf #1 NO PVP(PVE) >> 3axogu! <<
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/121681json
{
"response": {
"steam_id": "90284570522390559",
"domain": null,
"id": 121681,
"ip": "82.202.197.47",
"port": 6666,
"query": 6667,
"color": 0,
"city": "St Petersburg",
"description": "",
"game": 33930,
"owner": null,
"boosts": 1,
"last_offline": 1768641554,
"score": null,
"last_online": 1776453030,
"icon": null,
"name": "*[RUS]* GoldKey Epoch Napf #1 NO PVP(PVE) >> 3axogu! <<",
"connect": "82.202.197.47:6666",
"request": "82.202.197.47:6667",
"map": "Napf",
"gamemode": "GoldKey Epoch Napf NO PVP(PVE)",
"version": "1.64.144629",
"numplayers": 4,
"maxplayers": 36,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 43,
"add_date": 1552673236,
"last_update": 1776453030,
"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": 12,
"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/121681");
$data = json_decode($json, true);
var_dump($data);