Arma 3
API для Comando 99 / https://discord.gg/TZrJSa5kBd
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10140409json
{
"response": {
"steam_id": "90284679502779398",
"domain": null,
"id": 10140409,
"ip": "38.225.91.3",
"port": 2382,
"query": 2383,
"color": 0,
"city": "Lo Barnechea",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775781722,
"score": 0,
"last_online": 1776820227,
"icon": null,
"name": "Comando 99 / https://discord.gg/TZrJSa5kBd",
"connect": "38.225.91.3:2382",
"request": "38.225.91.3:2383",
"map": "chernarus",
"gamemode": "Europa%20del%20este%20C99",
"version": "2.20.152984",
"numplayers": 16,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": true,
"country": "CL",
"status": true,
"votes": 0,
"points": 55,
"add_date": 1756199788,
"last_update": 1776820227,
"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": 30,
"language": "es",
"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/10140409");
$data = json_decode($json, true);
var_dump($data);