A Python wrapper for the adsbdb API
Project description
pyadsbdb
pyadsbdb is a Python wrapper for the adsbdb API by Jack Wills, allowing easy access to aircraft, flight route, and airline data.
Installation
Install the package using pip:
pip install pyadsbdb
Usage
Import and Initialize
from pyadsbdb import Client
client = Client()
Get Aircraft Data
result = client.get_aircraft_data("A1B2C3")
print(result)
Get Flight Route Data
result = client.get_flight_route("BA123")
print(result)
Get Airline Data
result = client.get_airline("BA")
print(result)
Convert Mode-S to N-Number
result = client.mode_s_to_n_number("A1B2C3")
print(result)
Convert N-Number to Mode-S
result = client.n_number_to_mode_s("N12345")
print(result)
Get API Online Status
result = client.get_online_status()
print(result)
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyadsbdb-0.1.0.tar.gz
(2.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyadsbdb-0.1.0.tar.gz.
File metadata
- Download URL: pyadsbdb-0.1.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1270fa8a2ac8c69d3f71037757ac748299c2cf278da6f5a0145f75e0c93eafa
|
|
| MD5 |
df0c0b945b2eb60646647b3927257904
|
|
| BLAKE2b-256 |
ea76f36202ca08d88c1f9816bd62f802a0d23b1665c63ff06a70cec0e6798cc0
|
File details
Details for the file pyadsbdb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pyadsbdb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57fdee89f1cf9fce66f7d0040ec426b16428125484b8bb6b95fd3b27e76f7050
|
|
| MD5 |
e37f451aee0dfdd0db8f17b79f9a4e13
|
|
| BLAKE2b-256 |
f245014c2889048459d1ba3c6ebfc28d5d29596b867569909747c8e47a26122a
|