Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Skyscanner Optional Parameters do not seem to parse #32

Description

Example params being passed to:

from skyscanner.skyscanner import Flights
flights_service = Flights(settings.SKY_TOKEN)
flights_service.skyscanner.get_result( {'inbounddate': '', 'currency': 'INR', 'includeCarriers': u'9W', 'originplace': u'CCU-sky', 'adults': 1, 'destinationplace': u'DEL-sky', 'locale': 'en-IN', 'country': 'IN', 'outbounddate': '2018-01-13', 'market': 'IN'})

However, the results don't come filtered with includeCarriers.
In the results we get other Carriers and also the results['Query'] as such.

"Query": {
"DestinationPlace": "10957",
"CabinClass": "Economy",
"Adults": 1,
"Locale": "en-IN",
"Country": "IN",
"OutboundDate": "2018-01-13",
"Currency": "INR",
"OriginPlace": "10401",
"LocationSchema": "Default",
"Infants": 0,
"GroupPricing": false,
"Children": 0
},

We tested with the same parameters in the API Test Harness and we got proper results.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions