Arma 3
API для RAZOR's server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10959803json
{
"response": {
"steam_id": "90284633058226192",
"domain": null,
"id": 10959803,
"ip": "24.99.10.14",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Kennesaw",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776825746,
"score": 0,
"last_online": 1776645036,
"icon": null,
"name": "RAZOR's server",
"connect": "24.99.10.14:2302",
"request": "24.99.10.14:2303",
"map": "australia",
"gamemode": "OZ_test_drive",
"version": "2.20.152984",
"numplayers": 1,
"maxplayers": 16,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": false,
"votes": 0,
"points": 3,
"add_date": 1768750128,
"last_update": 1776825746,
"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": 3295,
"language": "en",
"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/10959803");
$data = json_decode($json, true);
var_dump($data);