Skip to content

oscar-lopez/exurban

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ExUrban

Elixir wrapper for UrbanAirship API. This is a work in progress.

Installation

Add as a dependency to your application:

defp deps do
  [{:exurban, "~> 0.0.1"}]
end

Start ExUrban within your application:

def applications do
  [applications: [:logger, :exurban]]
end

Install and compile the dependencies:

$ mix do deps.get, compile

Configuration

You should add your API keys to your config/#{env}.exs.

Documentation

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.

Testing

$ mix test

Contributing

Fork the repo and work on a branch. Once you have your feature, bugfix or anything ready commit please create a new pull request.

Status

Alpha quality.

License

Simplified BSD License. See LICENSE.

About

Elixir wrapper for UrbanAirship API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages