Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

Flights Hotels Car Hire

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

Resources https://github.com/Skyscanner/skyscanner-python-sdk https://duckduckgo.com/?q=skyscanner+api+cheatsheet&t=h_&i a=cheatsheet https://github.com/search?o=desc&q=partners.api.skyscanner.ne t&ref=searchresults&s=indexed&type=Code&utf8=%E2%9C%93 Docs: https://support.business.skyscanner.net/hc/en- us/categories/201253249-Documentation

Slide 6

Slide 6 text

Postman collection (Flights & Hotel queries): https://drive.google.com/open?id=0B8qoMCJeZpJATG92Z01na1cyNDA http://www.getpostman.com/

Slide 7

Slide 7 text

Challenge: Hotels & Fights APIs

Slide 8

Slide 8 text

Flights 1. Get API Key 2. Query Autosuggest for city/country/airport identifiers (SkyscannerID) 3. Query Browse Cache with SkyscannerID 4. Create the referral

Slide 9

Slide 9 text

Get API Key http://en.business.skyscanner.net/

Slide 10

Slide 10 text

Location Autosuggest From Paris To London For a list of places http://partners.api.skyscanner.net/apiservices/autosuggest/v1.0/UK/GBP/GB-EN/?query=london&apiKey={APIKey}

Slide 11

Slide 11 text

Cheapest prices from London to Spain http://partners.api.skyscanner.net/apiservices/browseroutes/v1.0/UK/GBP/en-GB/LOND-sky/ES- sky/anytime/anytime?apiKey=sk854555384432693416428070885899&application=json

Slide 12

Slide 12 text

Cheapest prices from London to Spain

Slide 13

Slide 13 text

Cheapest prices London-Paris by Date http://partners.api.skyscanner.net/apiservices/browsedates/v1.0/UK/GBP/en-GB/LOND-sky/PARI-sky/2016- 12/2016-12?apiKey=sk854555384432693416428070885899&application=json

Slide 14

Slide 14 text

Cheapest prices London-Paris by Date

Slide 15

Slide 15 text

Grid of prices: London-Paris in January

Slide 16

Slide 16 text

Create the referral http://partners.api.skyscanner.net/apiservices/referra l/v1.0/GB/GBP/en-GB/LOND-sky/PARI-sky/2016-12- 12/2016-12-20?apiKey=prtl674938798674 Same as for the Browse Cache Service

Slide 17

Slide 17 text

Hotels 1. Query Autosuggest for city/country/airport identifiers (SkyscannerID) 2. Create Hotel Session 3. Create Hotels Polling 4. Create Hotel Details (with booking link)

Slide 18

Slide 18 text

Hotel Autosuggest For a list of places http://partners.api.skyscanner.net/apiservices/hotels/autosuggest/v2/UK/EUR/en- GB/paris?apikey=prtl6749387986743898559646983194&application=json

Slide 19

Slide 19 text

Create Hotel Session http://partners.api.skyscanner.net/apiservices/hotels/liveprices/v2/UK/EUR/en- GB/27539733/2016-12-04/2016-12- 10/2/1?apiKey=prtl6749387986743898559646983194 Check Skyscanner Docs/ Postman Collection

Slide 20

Slide 20 text

Hotel Prices (Polling) Check Skyscanner Docs/ Postman Collection

Slide 21

Slide 21 text

Hotel Details (with booking link) Check Skyscanner Docs/ Postman Collection

Slide 22

Slide 22 text

Extra: Flights Live Pricing service

Slide 23

Slide 23 text

Questions/Help? We came from Barcelona to help you J • Slack #skyscanner • Come by our stand (cool merchandise included) Enrique Saez Gil @esaezgil @eqirn Software Engineer @ Manuel Miranda de Cid @argaen @blckdt Software Engineer @