Arma 3
API для SERVIDOR 4i20 BR - Mike Force - Khe Sanh - DLC Praire Faire
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11328158json
{
"response": {
"steam_id": "90284293061980169",
"domain": null,
"id": 11328158,
"ip": "177.32.68.212",
"port": 2402,
"query": 2403,
"color": 0,
"city": "São Paulo",
"description": null,
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1776809546,
"score": 0,
"last_online": 1776734455,
"icon": null,
"name": "SERVIDOR 4i20 BR - Mike Force - Khe Sanh - DLC Praire Faire",
"connect": "177.32.68.212:2402",
"request": "177.32.68.212:2403",
"map": "vn_khe_sanh",
"gamemode": "Mike Force (v1.00.03)",
"version": "2.20.153649",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "BR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1774594209,
"last_update": 1776809546,
"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": 3858,
"language": "pt",
"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/11328158");
$data = json_decode($json, true);
var_dump($data);