Skip to content

ChannexIO/ex_wubook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExWubook

Wubook API Extension for Elixir

Installation

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

Usage

def fetch_rooms do
  with {:ok, token} <- ExWubook.acquire_token("USER", "PASSWORD", LCODE, "PROVIDER_KEY") do
    ExWubook.fetch_rooms(token)
  end
end