Skip to main content

Whitebox Plugin - Aircraft Data

This is an Aircraft Data plugin for Whitebox.

Installation

Simply install the plugin to Whitebox:

poetry add whitebox-plugin-data-aircraft

Aircraft lookup API

The plugin provides the data-aircraft capability and looks up aircraft registration, model, operator, and type information in the managed OpenSky and aircraft type datasets.

Discover the endpoint through the plugin URL map:

const url = Whitebox.api.getPluginProvidedPath("data-aircraft.lookup");
const response = await Whitebox.api.client.get(url, {
  params: { icao_addr: "5055096" },
});

The direct endpoint is:

GET /plugin-views/whitebox_plugin_data_aircraft/aircraft/lookup/?icao_addr=<icao_addr>

The required icao_addr parameter accepts a decimal ICAO address or a hexadecimal ICAO24 address. Decimal values are returned as unpadded lowercase hexadecimal; other values are lowercased as-is.

A successful lookup returns the OpenSky row and, when available, its joined aircraft type row:

{
  "found": true,
  "icao24": "4d2278",
  "aircraft": {
    "registration": "9H-TJD",
    "model": "Boeing 737-800",
    "operator": "Corendon Airlines",
    "typecode": "B738"
  },
  "type_info": {
    "manufacturer_name": "BOEING",
    "model": "737-800"
  }
}

When no aircraft row or dataset is available, the endpoint returns HTTP 200:

{
  "found": false,
  "icao24": "4d2278"
}

Omitting icao_addr returns HTTP 400:

{
  "error": "Query parameter 'icao_addr' is required"
}

Additional Instructions

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whitebox_plugin_data_aircraft-0.1.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

whitebox_plugin_data_aircraft-0.1.0-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file whitebox_plugin_data_aircraft-0.1.0.tar.gz.

File metadata

  • Download URL: whitebox_plugin_data_aircraft-0.1.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0.dev0 CPython/3.14.4 Linux/7.1.5-200.fc44.x86_64

File hashes

Hashes for whitebox_plugin_data_aircraft-0.1.0.tar.gz
Algorithm Hash digest
SHA256 652a32a866aa312e3b9585f02c092905a1cf32f832299f3624178ab93e4202c8
MD5 fcb020d634b3429d0869ec5fd804ff69
BLAKE2b-256 09d8e957b6c0774e2a6648111aa0df70a135bc2635b451f019913f8ce1f3e753

See more details on using hashes here.

File details

Details for the file whitebox_plugin_data_aircraft-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for whitebox_plugin_data_aircraft-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98b724ff28e8890af8a3a84e065fce3bf83c6e15151c0057a1c5d08167e78d96
MD5 85919cfb3f5285e8dc62041773633059
BLAKE2b-256 bc353331b8545c4ee9e0444a2f43bb8f5fb43cc83631292def14f040d91b884d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page