A package to retrieve FAA airport status
Project description
FAA Airport Status
This is a simple Python package used to retrieve data from the FAA's NAS Status API.
Classes
The following classes are available and in some cases dynamically generated when retrieving data:
Class | Information Provided | Methods |
---|---|---|
ArriveDepartDelay | Airport, Status, Minimum delay, Maximum delay, Trend, Reason, Update time | |
GroundDelay | Airport, Status, Average delay, Maximum delay, Start time, End time, Reason, Update time, URL to the advisory, Departure scope (if applicable), Included Facilities (if applicable), Included flights (if applicable) | |
GroundStop | Airport, Status, End Time, Reason, Update time, URL to advisory, Included facilities (if applicable), Included flights (if applicable), Probabibility of extension | |
Closure | Airport, Status, Begin Time, End Time, Update time, NOTAM text | |
AirportConfig | Airport, Time the data was created, Arrival runway config, Departure runway config, Arrival rate, Source time stamp | |
Airport | Code (provide when creating, IATA format), Name, Longitude, Latitude, Bool of if airport is deicing (see note), Bool of any delays, Count of delays, GroundDelay object, GroundStop object, Depart Delay object (ArriveDepartDelay), Arrive Delay object (ArriveDepartDelay), Closure object, Airport config | Update |
Items in italics are not updated until delay data is present
Note: Information about airport deicing is untested
Methods Available
get_airport_delays(airport_code, session)
requires the code for the airport to get delays for in IATA format (i.e. ATL for Atlanta) and an asyncio HTTP session (such as aiohttp.ClientSession) and returns an Airport object
Support
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
faadelays-2023.9.1.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for faadelays-2023.9.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8bd34e427940ecbf43db6a4b73bc92cf7e403ec709e7881ba49c4d9c834053f |
|
MD5 | 5235f36a7748caa26acf2865ad1b8d4d |
|
BLAKE2b-256 | 125f0f4b3ee1d4c4f08776358d07e3c7c70a972d98e2c28d07f04e99e564602f |