Closed brianshu closed 8 years ago
Hi @brianshu,
This should be supported in our latest version 1.1.2. Please see release notes for more details: https://github.com/Skyscanner/skyscanner-python-sdk/releases/tag/1.1.2
Thanks! Ardy
@ardydedase I think you need to make the additional params accessible? so we can custom it based on what we need, like currently it has no pageindex and pagesize, also some hotels parameters not working since it is not in additional default params
pageindex=0, pagesize=5
Thanks
" from skyscanner import Flights
flights_service = Flights('un916353397293877852942657332487') result = flights_service.get_result( stops = 0, country='US', currency='USD', locale='en-US', originplace='DTW-sky', destinationplace='PEK-sky', outbounddate='2016-06-29', inbounddate='2016-07-30').parsed
print result "
the parameter of "stops" doesn't work.
is my way not right? how could I solve it? I just simply want to add a stop parameter to filter the result.