Hey Cam!
V1 of the API included DepartureAirportCode
and DestinationAirportCode
in the response, which was a little off with the first one commonly showing WPT
instead of the actual airport ICAO. It was still easy to get around it by grabbing the second waypoint (which usually was the actual airport) if the first waypoint/ICAO was WPT.
In V2 of the API, it seems these two have been eliminated. I’m currently getting the first or the second waypoint to find the departure ICAO and the last waypoint to find the destination ICAO. However, is there a plan to add these back as separate responses? Or is it absolutely going to be the first and last waypoints, and we’ll grab those to get the departure and arrival ICAO values?
Cheers!