skyscanner-python-sdk icon indicating copy to clipboard operation
skyscanner-python-sdk copied to clipboard

Hi!

Open ahmasoh1992 opened this issue 8 years ago • 2 comments

Sorry if this is easy to find elsewhere but I've been looking around for a while and I'm unable to find anything.

How can I retrieve the URL of a specific price that I like? I download the grid of prices using the below function:

result = flights_cache_service.get_grid_prices_by_date( market='UK', currency='GBP', locale='en-GB', originplace=FCO, destinationplace=LHR, outbounddate=date).parsed

I receive a grid of prices, but not any instructions as to how to retrieve a URL. Can anyone help?

Thanks!

ahmasoh1992 avatar Feb 21 '17 20:02 ahmasoh1992

If I am not mistaken, the Flight Cache Service (or any other Cache Service) does not provide the URL for the flight ticket URL, only the Live Price services provide this functionality.

hannonq avatar Feb 21 '17 21:02 hannonq

Ah man - is there anyway to get it from the cache? Or using the information from the cache to run a directed live pricing script?

ahmasoh1992 avatar Feb 21 '17 21:02 ahmasoh1992