Wubook API Extension for Elixir
If available in Hex, the package can be installed
by adding ex_wubook
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_wubook, "~> 0.2"}
]
end
def fetch_rooms do
with {:ok, token} <- ExWubook.acquire_token("USER", "PASSWORD", LCODE, "PROVIDER_KEY") do
ExWubook.fetch_rooms(token)
end
end