FlightAware Adapter
This adapter allows you to access real-time flight information from FlightAware.
This adapter requires a paid subscription to FlightAware.
Configuration Settings
Name | Description | Default |
---|---|---|
Boolean _isDefault | Make this the default configuration. Defaults to true if configName is already the default. | |
String userName | The user name of the FlightAware account | |
String apiKey | The API key provided by FlightAware |
Handlers
aircraft_type |
Given an aircraft type string such as GALX, AircraftType returns information about that type.
details
Arguments
SQL Callexec flightaware.aircraft_type 'GALX' Http Call/bsc/flightaware/aircraft_type Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
airline_flight_info |
Returns additional information about a commercial airline flight, such as gate, baggage claim, and meal service information. This information is currently only available for some carriers and flights.
details
Arguments
SQL Callexec flightaware.airline_flight_info 'N12345-1425666886-384-0' Http Call/bsc/flightaware/airline_flight_info Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
airline_flight_schedules |
Returns flight schedules that have been published by airlines. These schedules are available for the recent past as well as up to one year into the future. Flights performed by airline codeshares are also returned in these results.
details
Arguments
SQL Callexec flightaware.airline_flight_schedules 1425663900, 1425673900, 'MIA', 'KORD' Http Call/bsc/flightaware/airline_flight_schedules Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
airline_info |
Returns information about a commercial airline/carrier given an ICAO airline code.
details
Arguments
SQL Callexec flightaware.airline_info 'UAL' Http Call/bsc/flightaware/airline_info Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
airport_info |
Returns airport information including lat/long given its ICAO code.
details
Arguments
SQL Callexec flightaware.airport_info 'KORD' Http Call/bsc/flightaware/airport_info Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
airport_weather |
Returns current weather conditions at an airport given its ICAO code.
details
Arguments
SQL Callexec flightaware.airport_weather 'KORD' Http Call/bsc/flightaware/airport_weather Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
all_airlines |
All available airlines.
details
ArgumentsSQL Callexec flightaware.all_airlines Http Call/bsc/flightaware/all_airlines Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
all_airports |
All available airports.
details
ArgumentsSQL Callexec flightaware.all_airports Http Call/bsc/flightaware/all_airports Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
arrived |
Recently landed flights at an airport given its ICAO code.
details
Arguments
SQL Callexec flightaware.arrived 'KORD', 10 Http Call/bsc/flightaware/arrived Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
departed |
Recently departed flights from an airport given its ICAO code.
details
Arguments
SQL Callexec flightaware.departed 'KORD', 10 Http Call/bsc/flightaware/departed Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
enroute |
Flights already in the air for an airport given its ICAO code.
details
Arguments
SQL Callexec flightaware.enroute 'KORD', 10 Http Call/bsc/flightaware/enroute Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
fleet_arrived |
Returns information about recently arrived flights belonging to an aircraft fleet. Only flights that have arrived within the last 24 hours are considered. Codeshares and alternate idents are NOT considered.
details
Arguments
SQL Callexec flightaware.fleet_arrived 'UAL' Http Call/bsc/flightaware/fleet_arrived Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
fleet_scheduled |
Returns information about recently arrived flights belonging to an aircraft fleet. Only flights that have arrived within the last 24 hours are considered. Codeshares and alternate idents are NOT considered.
details
Arguments
SQL Callexec flightaware.fleet_scheduled 'UAL' Http Call/bsc/flightaware/fleet_scheduled Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
flight_info |
returns information about flights for a specific tail number (e.g., N12345), or ICAO airline code with flight number (e.g., SWA2558). Use of ICAO codes is strongly recommended
details
Arguments
SQL Callexec flightaware.flight_info 'SWA2558' Http Call/bsc/flightaware/flight_info Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
flight_info_ex |
returns information about flights for a specific tail number (e.g., N12345), or ICAO airline code with flight number (e.g., SWA2558). Use of ICAO codes is strongly recommended
details
Arguments
SQL Callexec flightaware.flight_info_ex 'SWA2558' Http Call/bsc/flightaware/flight_info_ex Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
get_flight_id |
Looks up the faFlightID for a given ident and departure time. This value is a unique identifier assigned by FlightAware as a way to permanently identify a flight. The specified departure time must exactly match either the actual or scheduled departure time of the flight.
details
Arguments
SQL Callexec flightaware.get_flight_id 'ENY9804', '1425663000' Http Call/bsc/flightaware/get_flight_id Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
getEpochFromUTC |
Returns a UNIX epoch time given a UTC DateTime.
details
Arguments
SQL Callexec flightaware.getEpochFromUTC '01/01/2014 08:00:00' Http Call/bsc/flightaware/getepochfromutc Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
getUTCFromEpoch |
Returns a UTC DateTime given a UNIX epoch time.
details
Arguments
SQL Callexec flightaware.getUTCFromEpoch 1425663900 Http Call/bsc/flightaware/getutcfromepoch Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
in_flight_info |
Flight information given a specific tail number or ICAO and flight number.
details
Arguments
SQL Callexec flightaware.in_flight_info 'N12345' Http Call/bsc/flightaware/in_flight_info Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
inbound_flight_info |
Returns information about the flight being served by the same aircraft that will service a future flight.
details
Arguments
SQL Callexec flightaware.inbound_flight_info 'N12345-1425666886-384-0' Http Call/bsc/flightaware/inbound_flight_info Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
latlongs_to_distance |
Given two latitudes and longitudes, lat1 lon1 lat2 and lon2, respectively, determine the great circle distance between those positions in miles. The returned distance is rounded to the nearest whole mile.
details
Arguments
SQL Callexec flightaware.latlongs_to_distance 25.79, -80.29, 41.97, -87.90 Http Call/bsc/flightaware/latlongs_to_distance Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
latlongs_to_heading |
Given two latitudes and longitudes, lat1 lon1 lat2 and lon2, respectively, calculate and return the initial compass heading (where 360 is North) from position one to position two. Quite accurate for relatively short distances but since it assumes the earth is a sphere rather than on irregular oblate sphereoid may be inaccurate for flights around a good chunk of the world, etc.
details
Arguments
SQL Callexec flightaware.fleet_scheduled 25.79, -80.29, 41.97, -87.90 Http Call/bsc/flightaware/latlongs_to_heading Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
metar |
Given an airport, return the current raw METAR weather info. If no reports are available at the requested airport but are for a nearby airport, then the report from that airport may be returned instead.
details
Arguments
SQL Callexec flightaware.metar 'KORD' Http Call/bsc/flightaware/metar Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
scheduled |
Scheduled flights at an airport given its ICAO code.
details
Arguments
SQL Callexec flightaware.scheduled 'KORD', 10 Http Call/bsc/flightaware/scheduled Output ColumnsThis call does not return data. |
|||||||||||||||||||||||||||
zipcode_info |
Returns information about a five-digit zipcode. Of particular importance is latitude and longitude.
details
Arguments
SQL Callexec flightaware.zipcode_info '33498' Http Call/bsc/flightaware/zipcode_info Output ColumnsThis call does not return data. |