Elixir wrapper for UrbanAirship API. This is a work in progress.
Add as a dependency to your application:
defp deps do
[{:exurban, "~> 0.0.1"}]
endStart ExUrban within your application:
def applications do
[applications: [:logger, :exurban]]
endInstall and compile the dependencies:
$ mix do deps.get, compileYou should add your API keys to your config/#{env}.exs.
Brief usage:
iex -S mix
...
iex> ExUrban.start
iex> ExUrban.push %{notification: ...}You can pass a map with all the options and values you want. For more information about the fields please refer to the official Urban Airship documentation.
$ mix testFork the repo and work on a branch. Once you have your feature, bugfix or anything ready commit please create a new pull request.
Alpha quality.
Simplified BSD License. See LICENSE.