Skip to content

Elixir lib to send short code SMS' via Ziad API

Notifications You must be signed in to change notification settings

tiagopog/ziad-ex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ZiadEx

Elixir client library to deliver short code SMS messages via Ziad.

Installation

If available in Hex, the package can be installed by adding ziad_ex to your list of dependencies in mix.exs:

def deps do
  [
    {:ziad_ex, "~> 0.1.0"}
  ]
end

Usage

Single send:

%ZiadEx.Credential{username: "foo", password: "bar", key: "baz"}
|> ZiadEx.send(to: "41999887766", message: "Join the army, they said")

Bulk send:

%ZiadEx.Credential{username: "foo", password: "bar", key: "baz"}
|> ZiadEx.send([%{to: "41999887766", message: "Join the army, they said"}, %{to: "41999887766", message: "See the world, they said"}])

About

Elixir lib to send short code SMS' via Ziad API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages