Questions tagged [skyscanner]

For questions about programming the API provided by Skyscanner which is a flight search engine that allows users to browse for flights via price and location. Additional tools such as fare graphs, allow users to compare flight prices of any given route over a month period, or the price of weekend flights from any given city.

Skyscanner is, according to its wikipedia page, a flights search engine that allows users to browse for flights via price and location. Additional tools such as fare graphs, allow users to compare flight prices of any given route over a month period, or the price of weekend flights from any given city.

60 questions
57
votes
12 answers

Dynamically load external javascript file from Angular component

I am creating an Angular application using Angular 4 and the CLI. I am trying to add the SkyScanner search widget into one of my components. Skyscanner Widget Example Part of the implementation requires the addition of a new external script:
infojolt
  • 5,244
  • 3
  • 40
  • 82
8
votes
1 answer

Skyscanner API and website data discrepancy

The Skyscanner API gives different results than Skyscanner website. For the flight from any airport in Warsaw to any airport in Wrocław, if I use the API the cheapest option is 303.99 zł. This flight is operated by LOT (LO). Other available…
mlu
  • 137
  • 2
  • 8
3
votes
0 answers

Simple API wrapper with HTTParty

I' am trying to create a simple wrapper for skyscanner API. The problems is that when try to get the sessionKey, what I get is
Jose CC
  • 865
  • 11
  • 24
3
votes
0 answers

How to interpraet skyscanner flight api polling output data?

I want to use skyscanner flight api in my application in order to fetch and display flight scheduled between two airports. I've got the data from api but not able to interpret it. below is the link where you can see the api output…
arun
  • 165
  • 1
  • 17
3
votes
2 answers

Skyscanner API for all airport locations and Travel API using CURL

I am trying to fetch geo catalogue data from skyscanner api. I have read documentation http://business.skyscanner.net/portal/en-GB/Documentation/ApiOverview I have created api key. I am hitting api successfully and getting result same as on the…
Deepak Dholiyan
  • 1,774
  • 1
  • 20
  • 35
3
votes
1 answer

SkyScanner API error when called by PHP

I did exactly as shown in the API documentation http://business.skyscanner.net/portal/en-GB/Documentation/FlightsLivePricingList but when i call it returns this error HTTP/1.1 100 Continue HTTP/1.1 500 Internal Server Error Cache-Control: private…
3
votes
1 answer

Skyscanner API example in Java

I am trying to build an example of request for Skyscanner API in Java - but I am doing something wrong - the link for skyscanner API test: http://business.skyscanner.net/portal/en-GB/Documentation/FlightsLivePricingQuickStart Here is the test code I…
EKK
  • 171
  • 2
  • 12
3
votes
1 answer

How to retrieve Session key from Skyscanner API post request - Ruby

In my app I want to fetch Live Price by Flight Details for this I have used SkyScanner API. I have read the documentation before obtained data I have to create Live Pricing Service Session. Which can be created by post request to api and then it…
Hetal Khunti
  • 787
  • 1
  • 9
  • 23
2
votes
1 answer

okHttp3 response.code() won't return 304

I'm using OkHttp3 on an android app for listening to web services, keeping the question basic, the following is what does the trik: try(Response response = client.newCall(request).execute()) { responseBody = response.body().string(); …
Cliff Burton
  • 3,414
  • 20
  • 33
  • 47
2
votes
2 answers

android retrofit2 could not add header (415 error code)

I'm trying to access ticket data via skyscanner api and pass it to my view, but I cannot accomplish that, because I get 415 error code I'm using retrofit2 and adding header programmatically. My interface looks like this: public interface…
Fedor Tsyganov
  • 992
  • 13
  • 30
2
votes
1 answer

Integrate skyscanner api for live prices

I'm trying to get the Location header url for polling from the skyscanner api url http://partners.api.skyscanner.net/apiservices/pricing/v1.0 but I'm getting 500 Volley server error. Can anyone tell me what I'm doing wrong. I'm getting header…
Somnath Pal
  • 1,570
  • 4
  • 23
  • 42
2
votes
1 answer

Skyscanner Flights API and Google script

I am trying to learn how to use the Skyscanner Flights API with Google Script. It seems that the information available online is not adapted to newbies like me. From what I got, the procedure to gain access to the flights' prices is : - to send a…
sheepoCoding
  • 117
  • 2
  • 3
2
votes
1 answer

sky scanner api, create booking request

I'm trying to use the skyscanner api http://business.skyscanner.net/portal/en-GB/Documentation/FlightsLivePricingDetails get booking details section I'm trying to create the request for booking so I can then poll it, The data vars I am trying to…
Barry Hamilton
  • 943
  • 3
  • 15
  • 35
1
vote
0 answers

Does SkyScanner API provide historical flight data?

I am trying out the Skyscanner API and testing the endpoint for browsing flights. However, it seems to me that historical flight data are not available as I could only have a successful GET request when inputting future dates instead of past…
felicia
  • 11
  • 1
1
vote
1 answer

Skyscanner API does not return data for flight search

I am playing around with the Skyscanner API from their webpage in Postman (opens in a new tab, or in the Postman desktop app) and testing the endpoint for browsing flights. This is what the API says in their page: And this is what I am trying -…
SexyBeast
  • 7,913
  • 28
  • 108
  • 196
1
2 3 4