choptastic / twilio_sms

A hyper-minimal library for sending SMS messages with Twilio.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twilio_sms

A hyper-minimal library for sending SMS messages

Add to rebar.config

{deps, [
	...
	twilio_sms
]}.

Configure it

In your app.config file:

[{twilio_sms, [
	{default_from, "5555555555"},
	{account_sid, "ABCDF1234"},
	{auth_token, "ABCDEF1235"}
]}].

Start it

application:ensure_all_started(twilio_sms).

Send with it

To = "6666666666",
Message = "Hello from twilio_sms",
twilio_sms:send(To, Message).

Copyright

Copyright 2015-2023 Jesse Gumm

Development Sponsored by Great States Volleyball

MIT License

About

A hyper-minimal library for sending SMS messages with Twilio.

License:MIT License


Languages

Language:Erlang 99.5%Language:Makefile 0.5%