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.13.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.13.tar.gz.

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.13.tar.gz
Algorithm Hash digest
SHA256 3173896cd8ca8da4f12a8e3b3154706325a8d7b617a19960080ab59f2ba2cde6
MD5 fd4a271aa7ee906170b6eebf2229b2af
BLAKE2b-256 26cec0b087898b6090c49f0b25437cdbac53bf14c5fb39d691be04814e40dd03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 93d5eceeb33a2e2b8b4c10c93e46aaacb80b20ea3198426fbc2f7bfd3ec64a8a
MD5 d204e784d69a2a99839babeaaf0e8226
BLAKE2b-256 3e7c03b074e98994fd511a9328e07417a7fb22b5df854df15397dd9a68f195be

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