How to get Airlines names in AirlineFlightSchedule api


#1

Hello
I am trying to get list of flight between two cities. I use AirlineFlightSchedule api but it not show airlines name. Can anyone tell me how I get flight schedule with Airlines name.


#2

AirlineFlightSchedules will return the ident only. With AirlineInfo you can get the airlines name.


#3

Thanks for your response.
But call AirlineInfo api we need airlineline code but AirlineFlightSchedules not return airlineline code. So how we get AirlineInfo?


#4

AirlineFlightSchedules returns the ident which is the airline code and the flight number(Example: SWA123).

You will need to filter the returned ident to get the first three letters. Then you can send that to AirlineInfo.