Skyscanner / skyscanner-python-sdk

Skyscanner Python SDK
Other
122 stars 33 forks source link

Hi! #23

Open ahmasoh1992 opened 7 years ago

ahmasoh1992 commented 7 years ago

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!

hannonq commented 7 years ago

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.

ahmasoh1992 commented 7 years ago

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?