Arma 3
API для 4th Infantry Brigade Milsim | 4thib.co.uk | Training Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/3694040json
{
"response": {
"steam_id": "90284547455381534",
"domain": null,
"id": 3694040,
"ip": "135.181.246.98",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Helsinki",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776373422,
"score": null,
"last_online": 1776485487,
"icon": null,
"name": "4th Infantry Brigade Milsim | 4thib.co.uk | Training Server",
"connect": "135.181.246.98:2402",
"request": "135.181.246.98:2403",
"map": "rof_mok",
"gamemode": "Updated_ITC",
"version": "2.20.153351",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": false,
"private": true,
"country": "FI",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1712138196,
"last_update": 1776485487,
"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": 677,
"language": "fi",
"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/3694040");
$data = json_decode($json, true);
var_dump($data);