Arma 3
API для Grorud.Tech
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11166125json
{
"response": {
"steam_id": "90282321204249611",
"domain": null,
"id": 11166125,
"ip": "217.170.196.10",
"port": 2322,
"query": 2323,
"color": 0,
"city": "Oslo",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775304687,
"score": 0,
"last_online": 1776825670,
"icon": null,
"name": "Grorud.Tech",
"connect": "217.170.196.10:2322",
"request": "217.170.196.10:2323",
"map": "Cam_Lao_Nam",
"gamemode": "-= Liberation RX =-",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 18,
"bots": 0,
"secured": false,
"private": true,
"country": "NO",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1772228618,
"last_update": 1776825670,
"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": 2295,
"language": "no",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11166125");
$data = json_decode($json, true);
var_dump($data);