Most efficient way to get gate information for a flight?

Hi,

We are trying to get gate information for a given flight. I.e. AAL1406 between MIA to JFK on a given date. What is the most efficient (least amount of API calls) way to achieve this?

  1. First we call AirlineFlightSchedules, then
  2. Call FlightInfoEx to get FLightInfoExStruct, then
  3. Call AirlineFlightInfo with the faFlightID to get AirlineFlightInfoStrut, which will have gate and terminal information.

It adds up quick. Is there a more direct way to do this? Thanks!

Those are the necessary steps for FlightXML2. However, once you have obtained the faFlightID for that flight once, you can cache and reuse it if you wish to obtain refreshed gate/terminal information by calling AirlineFlightInfo again.

Thank you!