Skip to main content

A minimal wrapper for the basic ADS-B Exchange API

Project description

ADS-B Exchange API Wrapper

A minimal Python wrapper for the ADS-B Exchange API, enabling easy access to real-time aircraft data.

https://rapidapi.com/adsbx/api/adsbexchange-com1

Installation

Install the package via pip:

pip3 install adsb-exchange-python

Usage

from adsb_exchange_python import AdsbExchangeAPI

# Replace 'YOUR_RAPIDAPI_KEY' with your actual RapidAPI key
api_key = 'YOUR_RAPIDAPI_KEY'
api = AdsbExchangeAPI(api_key=api_key)

# Get aircraft data by registration
registration = 'N8737L'
try:
    data = api.get_by_registration(registration)
    print(f"Data for registration {registration}:")
    print(data)
except Exception as e:
    print(f"Error fetching data for registration {registration}: {e}")

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

adsb_exchange_python-1.0.0.tar.gz (41.3 kB view details)

Uploaded Source

Built Distribution

adsb_exchange_python-1.0.0-py3-none-any.whl (28.7 kB view details)

Uploaded Python 3

File details

Details for the file adsb_exchange_python-1.0.0.tar.gz.

File metadata

  • Download URL: adsb_exchange_python-1.0.0.tar.gz
  • Upload date:
  • Size: 41.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.12

File hashes

Hashes for adsb_exchange_python-1.0.0.tar.gz
Algorithm Hash digest
SHA256 983355af03bc334bfbd4fedcf6ff46ba33548955bf6a93a09a8d05f794b145dd
MD5 ed1b0012df2761722d9e363655ed0b11
BLAKE2b-256 41a619f83a15db3e45f39e800d1a33097c0414ef7bf493b7e861aec766190209

See more details on using hashes here.

File details

Details for the file adsb_exchange_python-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for adsb_exchange_python-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d252629c7c627be1725a05c0168057df2e03a60e593073687b84fec94a71009b
MD5 59a4f1d72962edec78e310b0f0979489
BLAKE2b-256 4ee45a00b69867f285cf9378233d8a014d7a60e6bbf4f06f1a82986e97ca7b40

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page