Releases
v2.0.0
Added
Ability to use the availability endpoint. Now we aren't confined to getting the cheapest flight each day - we can just get them all.
This is useful if you want to do your own filtering on those flights, e.g. that fit your travel criteria.
e.g. Depart after 19:00 on Fridays, or before 10:00 on Saturdays.
Interestingly, I think the "cheapest" flights API now supports some nice new filtering types e.g. day of week, time of day and flight duration.
I think I'll try to add support for these as keyword args in the next version.
Ability to pass/override arbitrary custom_params
in api methods.
Flight number to the Flight
tuple.
Added destination_country
keyword arg to get_cheapest_return_flights
.
Improved logging and error handling
Request exception now retry with expo backoff
Much improved README covering existing and new methods
Changed
With the addition of the availability endpoint, I've decided to rename the existing methods
This is to make it more clear what they're actually intended to do.
Deprecated name
New name
get_flights
get_cheapest_flights
get_return_flights
get_cheapest_return_flights
Usage of the old methods will continue to work for now, but may be removed in a future release.
For now, a warning will be shown once if you call the methods by their old names.
You can’t perform that action at this time.