Arma 3
API для MAD Company | mad-one.one/discord
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10690450json
{
"response": {
"steam_id": "90285607799960605",
"domain": null,
"id": 10690450,
"ip": "154.12.242.9",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Seattle",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1778475780,
"score": 0,
"last_online": 1778543444,
"icon": null,
"name": "MAD Company | mad-one.one/discord",
"connect": "154.12.242.9:2302",
"request": "154.12.242.9:2303",
"map": "pja310",
"gamemode": "MAD Company v0.1.17",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": true,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1764591945,
"last_update": 1778543444,
"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": 1503,
"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/10690450");
$data = json_decode($json, true);
var_dump($data);