Aviation-Edge-Complete-API icon indicating copy to clipboard operation
Aviation-Edge-Complete-API copied to clipboard

Bug: Routes return is missing airports

Open danshev opened this issue 3 years ago • 1 comments

Making a call to /routes

GET => http://aviation-edge.com/v2/public/routes?key=MY_API_KEY&departureIata=BOS ... Barcelona (BCN) not in response GET => http://aviation-edge.com/v2/public/routes?key=MY_API_KEY&departureIata=BOS&arrivalIata=BCN ... BCN in response

Edit: the return for larger airports (BOS, ORD, ATL, NRT) is consistently exactly 300 rows ... is it possible there's an inadvertent limit on the return?

I need the /routes endpoint to provide all possible destinations from an origin airport -- is there anything that can be done to fix?

danshev avatar May 12 '22 23:05 danshev

Solution: specify a high limit query string parameter, e.g.:

http://aviation-edge.com/v2/public/routes?key=MY_API_KEY&departureIata=BOS&limit=5000

danshev avatar May 15 '22 13:05 danshev