mardi 1 mars 2016

Sabre Dev Studio API call by ruby

I'm trying to take hotels details from sabre dev studio in my app and I'm using gem 'sabre_dev_studio' but I can't understand how and which url I have to hit (APIs) for the hotel details. I'm using like this :

SabreDevStudio.configure do |c|
    c.client_id     = 'V1:kiifsurie29jj:KITPUI:DFR'
    c.client_secret = 'wiurRTs'
    c.uri           = 'http://ift.tt/1IvhrNK'
  end
  token = SabreDevStudio::Base.get_access_token
  themes = SabreDevStudio::Base.get('/v1/shop/themes')

this is working and give me proper response but for hotels I'm not getting which url are for apies.

Aucun commentaire:

Enregistrer un commentaire