freelixir v0.1.0 Freelixir
Module that give access to Free Mobile API with Elixir.
You first need to activate “Notifications par SMS” option on Free Mobile website.
Summary
Functions
Send SMS
Functions
Send SMS
Parameters
- user: Your login.
- password: Your identification string.
- message: The content of the SMS.
Examples
$ Freelixir.send_sms(user: "_user_", password: "_password_", message: "Hello World !")
{:ok, "SMS was sent successfully"}
$ Freelixir.send_sms(user: "_fake_user_", password: "_password_", message: "Hello World !")
{:error, %{code: 403, message: "You didn't activate the service « Notifications par SMS »"}}