Skip to main content

Python wrapper for the FAA flight APIs.

Project description

A Python wrapper for the Federal Aviation Administration’s API.

Usage

>>> from faa import FAA
>>> # Find all current delays in the US.
... FAA().delays()
{'lots': {'and': {'lots': 'of delay data'}}}
>>> # Search for the status of a specific airport.
... FAA().status('SFO')
{'data': {'specific to': 'SFO'}}
>>> # Get back a list of all ground delays.
... FAA().ground_delays()
[{'ground': 'delay'}, {'ground': 'delay'}, ...]
>>> # Get back a list of all ground stops.
... FAA().ground_stops()
[{'ground': 'stop'}, {'ground': 'stop'}, ...]
>>> # Get back a list of all arrival and depature delays.
... FAA().delay_list()
[{'arrival': 'delay'}, {'departure': 'delay'}, ...]

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

faa-1.1.tar.gz (6.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page