ex_vertical_booking

VerticalBooking API Extension for Elixir


License
Apache-2.0

Documentation

ExVerticalBooking

VerticalBooking API Extension for Elixir

Installation

If available in Hex, the package can be installed by adding ex_vertical_booking to your list of dependencies in mix.exs:

def deps do
  [
    {:ex_vertical_booking, "~> 0.1.0"}
  ]
end

Usage

def load_bookings() do
  ExVerticalBooking.ota_read(
    %{hotel_code: "VB_HOTEL_CODE"},
    %{
      endpoint: "https://pms.verticalbooking.com/requestor_id/OTA_PMS.php",
      password: "PASSWORD",
      user: "USER"
    }
  )
end