Arma 3
API для � [ OFFICIAL ] Arma 3 Spearhead 1944 USA #16_Escape_Regular
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1057535json
{
"response": {
"steam_id": "90284753998958622",
"domain": null,
"id": 1057535,
"ip": "45.159.5.157",
"port": 4602,
"query": 4603,
"color": 0,
"city": "Clifton",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776803001,
"score": null,
"last_online": 1776806540,
"icon": null,
"name": "� [ OFFICIAL ] Arma 3 Spearhead 1944 USA #16_Escape_Regular",
"connect": "45.159.5.157:4602",
"request": "45.159.5.157:4603",
"map": "SPE_Mortain",
"gamemode": "[SPE] COOP 10 Escape [Mortain]",
"version": "2.20.153701",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1688751853,
"last_update": 1776806540,
"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": 549,
"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/1057535");
$data = json_decode($json, true);
var_dump($data);