ex_nexmo

Build StatusCoverage Statushex.pm versionhex.pm downloadsInline docs

A Nexmo API client for Elixir.

You can find the hex package here, and the docs here.

Usage

def deps do
  [{:ex_nexmo, "~> 0.1.1"}]
end

Then run $ mix do deps.get, compile to download and compile your dependencies.

You'll need to set a few config parameters, some in your app config, some, like API credentials, we recommend keeping as environment viarables: take a look in the lib/config.ex file to see what is required.

Then sending a text message is as easy as:

ExNexmo.send_sms(from, to, message)