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.1.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.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: whitebox_plugin_data_aircraft-0.1.1.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/6.1.75+

File hashes

Hashes for whitebox_plugin_data_aircraft-0.1.1.tar.gz
Algorithm Hash digest
SHA256 863c1fe911b6526352e138c88712edd2bf96ffd91ae6c3e28193cb9ad102f51c
MD5 9ae85ee6dbf195c1470dd46e12493447
BLAKE2b-256 8d0eb0dc809be804f0fccbf6b5078b70c0b5bc395fb6314f99a09d12d58ab1f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whitebox_plugin_data_aircraft-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 215e3383273a5879b15d60b46ab7a4aa586bb9df36a3415ce0c466af9c4bc756
MD5 c154d4446bc6ee025db6673b43e9750a
BLAKE2b-256 e236a93fe3ac74fd25646ca375309a126ff307ebc3356ea56070d42b66df4d41

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