Skip to content

v3.0.0

Compare
Choose a tag to compare
@anthonyroux anthonyroux released this 22 Jan 08:59
· 59 commits to master since this release

Hotel Search v2 has been deployed (Hotel Search v1 is now deprecated)

General

  • Remove the support of the Hotel Search v1
  • URLs for all three endpoints have been simplified for ease-of-use and consistency

Find Hotels - 1st endpoint

  • The parameter hotels has been renamed to hotelIds

View Hotel Rooms - 2nd endpoint

  • Update from amadeus.shopping.hotel('IALONCHO').hotel_offers.get to amadeus.shopping.hotel_offers_by_hotel.get(hotelId: 'IALONCHO')
  • Now get all images in ‘View Hotels Rooms’ endpoint using the view parameter as FULL_ALL_IMAGES

View Room Details - 3rd endpoint

  • Updated from amadeus.shopping.hotel('IALONCHO').offer('XXX').get to amadeus.shopping.hotel_offer('XXX').get
  • Image category added under Media in the response
  • Hotel distance added in the response
  • Response now refers to the common HotelOffer object model