Arma 3
API для [GER] [NDS] EXILE Altis | Zombie/Exten.Base Mod | Day/PVP Only
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/628413json
{
"response": {
"steam_id": "90284792127645727",
"domain": null,
"id": 628413,
"ip": "144.76.15.43",
"port": 2402,
"query": 2403,
"color": 0,
"city": "Falkenstein",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1772348496,
"score": null,
"last_online": 1776825062,
"icon": null,
"name": "[GER] [NDS] EXILE Altis | Zombie/Exten.Base Mod | Day/PVP Only",
"connect": "144.76.15.43:2402",
"request": "144.76.15.43:2403",
"map": "Altis",
"gamemode": "Exile",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1669650887,
"last_update": 1776825062,
"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": 309,
"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/628413");
$data = json_decode($json, true);
var_dump($data);