Arma 3
API для Naval Special Warfare Command | Training & Devolpment
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10493403json
{
"response": {
"steam_id": "90284612501551132",
"domain": null,
"id": 10493403,
"ip": "65.108.76.207",
"port": 2502,
"query": 2503,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776525206,
"score": 0,
"last_online": 1776814237,
"icon": null,
"name": "Naval Special Warfare Command | Training & Devolpment",
"connect": "65.108.76.207:2502",
"request": "65.108.76.207:2503",
"map": "MidSouthInstitute",
"gamemode": "Mid South Institute of Combat Shooting - Missisippi",
"version": "2.20.152984",
"numplayers": 1,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1761123490,
"last_update": 1776814237,
"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": 171,
"language": "fi",
"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/10493403");
$data = json_decode($json, true);
var_dump($data);