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.15.tar.gz (27.4 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.15.tar.gz.

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.15.tar.gz
Algorithm Hash digest
SHA256 df368fe8e105f01906ddf6ad710419bee85dc8c69733251f54c8a80d4584237d
MD5 eff7186d2b04271a8f279ce81996672b
BLAKE2b-256 2444e6181dd512439367cfaaa4344af24db2e6f254e26d5da9a81d2781510704

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 ce0ef539b7abf8e26ea9ab9a88751ce8450f1769776302ecca077c35e9396cde
MD5 93964a9ddd227bff314322dc96a84636
BLAKE2b-256 1ceb2922f1a12015f4d67468112b9bc6783086712987aca45bdb567b331696b8

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