Skip to main content

Traffic display plugin for WhiteBox

Project description

Whitebox Plugin - Traffic Display

This is a plugin for whitebox that displays traffic on the map.

Installation

Install the plugin to whitebox:

poetry add whitebox-plugin-traffic-display

API

Aircraft Lookup

Lookup aircraft information by ICAO24 address. Returns registration, aircraft type, operator, and more from OpenSky and OpenAircraftType databases.

Direct endpoint:

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

Using helper (frontend):

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

Parameters:

  • icao_addr - ICAO24 address in decimal (e.g., 5055096) or hex (e.g., 4d2278)

Response:

{
  "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",
    ...
  }
}

Additional Instructions

Project details


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_traffic_display-0.1.14.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file whitebox_plugin_traffic_display-0.1.14.tar.gz.

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.14.tar.gz
Algorithm Hash digest
SHA256 86df021e9e6de770d6631afd6cef74556a4fe4fc0d1845316078266796ee5eb6
MD5 bea9f383eac0dbb65c9d2bc25e5dfb51
BLAKE2b-256 b34cfa4e3e02bd27674d77387ee41605b2eb47f966b5d39afd46a8f4966cb352

See more details on using hashes here.

File details

Details for the file whitebox_plugin_traffic_display-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 3ee917a45fa4a7f59b6b14793a72716da106a88a84aacabaed17d0958e578110
MD5 85e26aff934039922810209934bda494
BLAKE2b-256 1810e23366b181c9570cfb3c1c7cfb6ec4d93ae4e88cfe24bd9445bbd667a6dc

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