API для Touched by the tism PVE
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1791678345,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "45.43.18.4:2143",
"country": "US",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18086398,
"ip": "45.43.18.4",
"language": "en",
"last_update": 1794602513,
"map": "· MODERN PvE | GOGLAND",
"maxplayers": 20,
"name": "Touched by the tism PVE",
"numplayers": 0,
"official": false,
"points": 30,
"port": 2143,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 2143,
"request": "45.43.18.4:2143",
"secured": true,
"status": true,
"steam_id": null,
"version": "1.9.0.37",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Даллас",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794599003,
"last_online": 1794602513,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 2928,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "8dcaaf35-000026929ed3",
"pingSiteId": "miami",
"scenarioId": "{3D6D1E3906C1AD31}missions/DKG_Gogland.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 57,
"memory": 791572
},
"directJoinCode": "0093763084",
"detailsUpdatedAt": 1794593538,
"hostedScenarioModId": "68CA41482E73DB6C",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18086398");
$data = json_decode($json, true);
var_dump($data);