Skip to content

Releases: raphaelcockx/trippe

Fix some issues with (mostly) getLowestHotelPrices

02 Jan 10:24
Compare
Choose a tag to compare
  • [getLowestHotelPrices] FIX - Trippe would throw an error indicating a wrong hotelCode when no prices where available for the given hotel and time period (5d7bc1f)
  • [getLowestHotelPrices] BREAKING - This method no longer returns an array. It now returns an object containing some common data for the hotel (such as the currencyCode) and, wthin prices, the prices per day (a8ae88c)
  • [getLowestHotelPrices] FIX - Some lowest rates weren't included in the output (1855689 and (1f84be7)
  • FIX: Trippe would throw an error when run with a different cwd set (e.g. in a CRON job). (d98b998)
  • FIX: Errors from the API itself are now handled correctly (dcb6647)

Allow lowest hotel price search to cover the full 62 days

17 Dec 10:19
Compare
Choose a tag to compare

Correct error handling

12 Dec 22:15
Compare
Choose a tag to compare
  • [getHotelDetails] Returns null instead of https://undefined when no url is returned from the API
  • [getStayPrices] Trippe would throw an error about an incorrect hotelCode when no rooms were available