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.9.tar.gz (22.8 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_traffic_display-0.1.9-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d9f4e99a0eb9ec6ea5787a86b90ede5b4f91b40cdc137832a4d8a5c109dfc0e9
MD5 e62d5133b989559a9825931db97d8f9d
BLAKE2b-256 797fd39c0ad7b229f59bd86196db709b93fc12ba7032d0bd885a518adc1dd0c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whitebox_plugin_traffic_display-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 dba6f5c0bfd70ef0b29490a27f3671f50bfb4212fb04a7820fb2736e2c8e3f57
MD5 83759d879a2dbc8f7bcc21477a17546e
BLAKE2b-256 44f10e2b7a30d54644a97183ed64b33a2f7d4d72bfeb79e90c0b1040b217f69a

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