Arma 3
API для [RU]WS CUP/RHS
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10943180json
{
"response": {
"steam_id": "90284755031830536",
"domain": null,
"id": 10943180,
"ip": "80.242.59.106",
"port": 2602,
"query": 2603,
"color": 0,
"city": "Veliky Novgorod",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776807795,
"score": 0,
"last_online": 1776806446,
"icon": null,
"name": "[RU]WS CUP/RHS",
"connect": "80.242.59.106:2602",
"request": "80.242.59.106:2603",
"map": "green_sea_2023",
"gamemode": "WS.CUPRHS.v1.2",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 60,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1768501231,
"last_update": 1776807795,
"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": 3368,
"language": "ru",
"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/10943180");
$data = json_decode($json, true);
var_dump($data);