API для AUS MILSIM | OCE | GM | Discord.gg/aus-milsim
JSON для программ, сайтов и прочего
text
json
{
"response": {
"id": 13870215,
"mods": [],
"flags": 1,
"region": "ASIA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0,
"type": "REGULAR",
"maxSize": 24
},
"sessionId": "0-000000000030",
"pingSiteId": "sydney",
"scenarioId": "{DD443619E78D2556}Missions/GM_Ruha.conf",
"lastJoinedAt": null,
"platformName": "LINUX",
"runtimeStats": {
"fps": 60,
"memory": 787623
},
"directJoinCode": "0339638947",
"detailsUpdatedAt": 1787287919,
"hostedScenarioModId": "653CB36244ADBE0F",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
],
"steam_id": null,
"domain": null,
"ip": "165.217.131.145",
"port": 25565,
"query": 25565,
"project_id": null,
"color": 0,
"city": "Alexandria",
"description": null,
"game": 1874880,
"owner": null,
"boosts": 1,
"last_offline": 1787346680,
"last_online": 1787349655,
"icon": null,
"name": "AUS MILSIM | OCE | GM | Discord.gg/aus-milsim",
"connect": "165.217.131.145:25565",
"request": "165.217.131.145:25565",
"map": "AUS-M GM",
"gamemode": null,
"version": "1.8.0.10",
"numplayers": 0,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": true,
"country": "AU",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1787241511,
"last_update": 1787349655,
"ban_reason": null,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4068,
"language": "en",
"parked": false,
"app": {
"id": 55076,
"steam_id": 1874880,
"name": "Arma Reforger",
"url": "arma-reforger"
},
"server_owner": null,
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13870215");
$data = json_decode($json, true);
var_dump($data);