Skip to content

Simple Elixir library for sending SMS's via Enterprise Connector

Notifications You must be signed in to change notification settings

AlexJuca/connector-elixir-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connector

An Elixir library for sending SMS's concurrently via Enterprise Connector

Elixir CI

This library allows you to use the power of elixir's processes and supervision trees to send SMS's efficiently.

All message requests will be executed as an elixir Task which is part of a dynamic supervision tree. Each message request is attached to its own process, meaning you can send thousands of messages concurrently and efficiently.

Usage

Send SMS

    message = "Hello, World"
    mobile = "+2449415955212"
    options = %{:api_key => System.get_env("EC_API_KEY")}
    Connector.send_sms(message, mobile, options)

Usage

Get all SMS

    options = %{:api_key => System.get_env("EC_API_KEY")}
    Connector.get_all_sms(options)

Installation

Add connector to your list of dependencies in mix.exs:

def deps do
  [
    {:connector, "~> 0.1.1"}
  ]
end

Documentation

Visit hex.docs to see documentation.

License

Copyright © 2020 Alexandre Juca corextechnologies@gmail.com

This work is free. You can redistribute it and/or modify it under the terms of the MIT License. See the LICENSE file for more details.

Releases

No releases published

Packages

No packages published

Languages