Arma Reforger
API для ![RU] INSIDE ARMA | ARMA RUSSIAN | CONFLICT HQC
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11489516json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11489516,
"ip": "109.248.4.66",
"port": 2001,
"query": 17777,
"color": 0,
"city": "Moscow",
"description": null,
"game": 1874880,
"owner": null,
"boosts": 1,
"last_offline": 1776543482,
"score": 0,
"last_online": 1776610838,
"icon": null,
"name": "![RU] INSIDE ARMA | ARMA RUSSIAN | CONFLICT HQC",
"connect": "109.248.4.66:2001",
"request": "109.248.4.66:17777",
"map": "#AR-Campaign_HQC_ScenarioName_Cain",
"gamemode": "Arma Reforger",
"version": "1.6.0.119",
"numplayers": 6,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 1,
"points": 35,
"add_date": 1776543482,
"last_update": 1776610838,
"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": 14,
"language": "ru",
"parked": false,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11489516");
$data = json_decode($json, true);
var_dump($data);