Arma 3
API для Star Wars Starsim | 212th Attack Battalion | Skirmish | Server
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/853327json
{
"response": {
"steam_id": "90284382732873757",
"domain": null,
"id": 853327,
"ip": "15.235.13.223",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Montreal",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776031337,
"score": null,
"last_online": 1776456116,
"icon": null,
"name": "Star Wars Starsim | 212th Attack Battalion | Skirmish | Server",
"connect": "15.235.13.223:2302",
"request": "15.235.13.223:2303",
"map": "lsb_terrain_scarif",
"gamemode": "BackwaterV3%2e2",
"version": "2.20.153649",
"numplayers": 0,
"maxplayers": 66,
"bots": 0,
"secured": false,
"private": true,
"country": "CA",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684657819,
"last_update": 1776456116,
"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": 682,
"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/853327");
$data = json_decode($json, true);
var_dump($data);