API для 64TH BCT
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1784731916,
"app": {
"id": 61,
"name": "Arma 3",
"steam_id": 107410,
"url": "arma-3"
},
"color": 0,
"connect": "212.80.7.229:25992",
"country": "DE",
"domain": null,
"game": 107410,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12499318,
"ip": "212.80.7.229",
"language": "de",
"last_update": 1790567081,
"map": "sara_dbe1",
"maxplayers": 32,
"name": "64TH BCT",
"numplayers": 0,
"official": null,
"points": 30,
"port": 25992,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 25993,
"request": "212.80.7.229:25993",
"secured": false,
"status": true,
"steam_id": "90293467301522457",
"version": "2.22.154045",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Франкфурт-на-Майне",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1790549146,
"last_online": 1790567081,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2332,
"wipe_period": null,
"os": "l",
"region": -1,
"product": "Arma3",
"gametype": "bf,r222,n0,s1,i3,mf,lf,vf,dt,g65545,hef43f57,f0,c-2147483648--2147483648,pl,e0,j0,k0,",
"dedicated": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12499318");
$data = json_decode($json, true);
var_dump($data);