Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 408 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 408 Bytes

etwilio

An Erlang library for sending SMS via Twilio API

Installing

In rebar.config:

{etwilio, ".*", {git, "git://github.com/tapsters/etwilio", {tag, "master"}}}

In sys.config:

{etwilio, [
  {sid,        "YOUR_SID"},
  {auth_token, "YOUR_AUTH_TOKEN"},
  {phone,      "YOUR_PHONE"}
]}

Usage

etwilio:send_sms("380931234567", "Hello, Mike!").