API для Surplus Marines Gaming | AFTER THE FALL | THANK YOU TO RENEGADE PROJECT: DEAD EVERON
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1793763669,
"app": {
"id": 55076,
"name": "Arma Reforger",
"steam_id": 1874880,
"url": "arma-reforger"
},
"color": 0,
"connect": "134.255.214.63:10800",
"country": "US",
"domain": null,
"game": 1874880,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 19623005,
"ip": "134.255.214.63",
"language": "en",
"last_update": 1794688940,
"map": "DEAD EVERON 2",
"maxplayers": 10,
"name": "Surplus Marines Gaming | AFTER THE FALL | THANK YOU TO RENEGADE PROJECT: DEAD EVERON",
"numplayers": 0,
"official": false,
"points": 0,
"port": 10800,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 10800,
"request": "134.255.214.63:10800",
"secured": true,
"status": false,
"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": 1794688940,
"last_online": 1793966122,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 7935,
"wipe_period": null,
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0
},
"sessionId": "31cc36fb-00002b5c108f",
"pingSiteId": "new_york",
"scenarioId": "{E4078A16621F4355}Missions/SCENARIO.conf",
"lastJoinedAt": null,
"platformName": "Windows",
"runtimeStats": {
"fps": 120,
"memory": 1349786
},
"directJoinCode": "0144598315",
"detailsUpdatedAt": 1793965699,
"hostedScenarioModId": "6A1E5EE3EF3C6B59",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
]
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/19623005");
$data = json_decode($json, true);
var_dump($data);