API для SPC R. McLuggen on DESKTOP-TTSMMVC
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793555904,
"app": {
"id": 61,
"name": "Arma 3",
"steam_id": 107410,
"url": "arma-3"
},
"color": 0,
"connect": "96.33.48.115:2322",
"country": "US",
"domain": null,
"game": 107410,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19500749,
"ip": "96.33.48.115",
"language": "en",
"last_update": 1794214491,
"map": "lingor3",
"maxplayers": 16,
"name": "SPC R. McLuggen on DESKTOP-TTSMMVC",
"numplayers": 0,
"official": null,
"points": 0,
"port": 2322,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2323,
"request": "96.33.48.115:2323",
"secured": false,
"status": false,
"steam_id": "90296338201598987",
"version": "2.22.154126",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Колумбия",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794214491,
"last_online": 1793584054,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7788,
"wipe_period": null,
"os": "w",
"region": -1,
"product": "Arma3",
"gametype": "bf,r222,n0,s7,i1,mf,lf,vf,df,tcoop,g65545,h5cb5cd97,f0,c-2147483648--2147483648,oUS,pw,e15,j0,k0,",
"dedicated": false
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19500749");
$data = json_decode($json, true);
var_dump($data);