Arma 3
API для Lootrausch | Desolation Chernarus
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/2070243json
{
"response": {
"steam_id": "90284790537569304",
"domain": null,
"id": 2070243,
"ip": "213.239.216.253",
"port": 2372,
"query": 2373,
"color": 0,
"city": "Nuremberg",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1775133132,
"score": null,
"last_online": 1776820851,
"icon": null,
"name": "Lootrausch | Desolation Chernarus",
"connect": "213.239.216.253:2372",
"request": "213.239.216.253:2373",
"map": "chernarus",
"gamemode": "desolation_upd",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1701849804,
"last_update": 1776820851,
"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": 603,
"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/2070243");
$data = json_decode($json, true);
var_dump($data);