API для [NA2] ASAP | Modern PvP | Drones | Artillery | AAS discord.gg/asapgaming | Hosted By Terabit.io
JSON для программ, сайтов и прочего
text
json
{
"response": {
"id": 13868358,
"mods": [],
"flags": 1,
"region": "NA",
"visible": true,
"battlEye": true,
"favorite": false,
"hostType": "CommunityDs",
"joinable": true,
"joinQueue": {
"size": 0,
"type": "REGULAR",
"maxSize": 30
},
"sessionId": "0-000000000030",
"pingSiteId": "new_york",
"scenarioId": "{63F94E53A36A59DC}Missions/Chernarus_DAAS_ASAP.conf",
"lastJoinedAt": null,
"platformName": "LINUX",
"runtimeStats": {
"fps": 60,
"memory": 2581166
},
"directJoinCode": "0779244646",
"detailsUpdatedAt": 1787336479,
"hostedScenarioModId": "6A2625146F85637A",
"supportedGameClientTypes": [
"PLATFORM_PC",
"PLATFORM_XBL",
"PLATFORM_PSN"
],
"steam_id": null,
"domain": null,
"ip": "207.174.43.174",
"port": 2001,
"query": 2001,
"project_id": null,
"color": 0,
"city": "New York",
"description": null,
"game": 1874880,
"owner": null,
"boosts": 1,
"last_offline": 1787254748,
"last_online": 1787336996,
"icon": null,
"name": "[NA2] ASAP | Modern PvP | Drones | Artillery | AAS discord.gg/asapgaming | Hosted By Terabit.io",
"connect": "207.174.43.174:2001",
"request": "207.174.43.174:2001",
"map": "Chernarus DAAS ASAP",
"gamemode": null,
"version": "1.8.0.10",
"numplayers": 100,
"maxplayers": 128,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 108,
"add_date": 1787241506,
"last_update": 1787336996,
"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": 85,
"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/13868358");
$data = json_decode($json, true);
var_dump($data);