Arma 3
API для 27th Marine Division
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9948691json
{
"response": {
"steam_id": "90284531255989257",
"domain": null,
"id": 9948691,
"ip": "94.130.38.87",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Falkenstein",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776365617,
"score": 0,
"last_online": 1776397841,
"icon": null,
"name": "27th Marine Division",
"connect": "94.130.38.87:2302",
"request": "94.130.38.87:2303",
"map": "OPTRE_Madrigal",
"gamemode": "27th_Operation_Arkfall_2",
"version": "2.20.153687",
"numplayers": 1,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": true,
"country": "DE",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1754227003,
"last_update": 1776397841,
"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": 197,
"language": "de",
"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/9948691");
$data = json_decode($json, true);
var_dump($data);