IftttOauth
A simple Elixir wrapper around scrogson/oauth2 to retrieve IFTTT Bearer tokens from their mobile api.
Installation
First, add ifttt_oauth to your list of dependencies in mix.exs:
def deps do
[{:ifttt_oauth, "~> 0.0.1"}]
endNext, ensure ifttt_oauth is started before your application:
def application do
[applications: [:ifttt_oauth]]
endUsage
iex> response = IftttOauth.get_token! username: "nickgal", password: "password"
iex> response.other_params # Data returned from IFTTT