ex_nexmo v0.1.1 ExNexmo

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.0"}]
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)

Summary

Functions

send_sms(from, to, text)
send_sms(String.t, String.to, String.t) :: {atom, map}