Arma Reforger
API для #2 Syrian Insurgency | Hardcore AAS | EUHEADQUARTER.com
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11488915json
{
"response": {
"steam_id": null,
"domain": "server.euheadquarter.com",
"id": 11488915,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Limburg an der Lahn",
"description": "[]",
"game": 1874880,
"owner": 110277,
"boosts": 1,
"last_offline": 1776111075,
"score": 0,
"last_online": 1776378613,
"icon": null,
"name": "#2 Syrian Insurgency | Hardcore AAS | EUHEADQUARTER.com",
"connect": null,
"request": null,
"map": "WoA Al Hadra HC",
"gamemode": "Arma Reforger",
"version": "1.6.0.119",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 90,
"add_date": 1775915951,
"last_update": 1776378613,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": 1,
"list_hidden": false,
"hide_address": true,
"hide_query": true,
"position_game": 4,
"language": "en",
"parked": false,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": {
"username": "fx0_197",
"avatar": "85503fea-4ddd-4734-8941-ae510caf8013.jpg",
"last_online": 1775916676
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11488915");
$data = json_decode($json, true);
var_dump($data);