When i make a request like so:
/airports/SYD/flights/to/BNE?start=2023-05-22T00:00:00Z&end=2023-05-22T00:59:00Z
I get the same results as making a request:
/airports/SYD/flights/to/BNE?start=2023-05-22T00:00:00Z&end=2023-05-22T23:59:00Z
I am trying to limit the response to flights within a range of a few hours. Is this possible?
I am using the v4 aeroapi
Hello,
The endpoint only respects custom time windows if the connection=nonstop
is set. Using /airports/SYD/flights/to/BNE?connection=nonstop&start=2023-05-22T00:00:00Z&end=2023-05-22T00:59:00Z
will work as expected.
Taylor Fischer -
Commercial Support
Toll Free: +1.800.713.8570
Support Line:+1.713.588.6514
Eleven Greenway Plaza, Suite 2900 - Houston, Texas - 77046
–
Learn about FlightAware Global and Premium Accounts: http://flightaware.com/commercial/
AH! I can see why that would be the case, thank you!
That would be worth tacking onto the documentation, unless it is there and i simply missed it