Git Product home page Git Product logo

messagebird's Introduction

A Messagebird Client, built on top of Finch.

Usage

In order to use Messagebird, you must start it and provide a :name. Often in your supervision tree:

children = [
  {Messagebird, name: MyMessagebirdClient}
]

Or, in rare cases, dynamically:

Messagebird.start_link(name: MyMessagebirdClient)

Or, with the your own module:

defmodule MyMessagebirdClient do
  use Messagebird
end

children = [
  MyMessagebirdClient
]

Once you have started your instance of Messagebird, you are ready to start sending SMS messages:

config = [base_url: "https://rest.messagebird.com", access_key: "test_access_key"]

MyMessagebirdClient.send_text_message(config, "+18002345678", "Test message", originator: "TEST")

Installation

The package can be installed by adding messagebird to your list of dependencies in mix.exs:

def deps do
  [
    {:messagebird, "~> 0.1"}
  ]
end

messagebird's People

Contributors

forest avatar semantic-release-bot avatar

Watchers

 avatar  avatar

Forkers

barrieloydall

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.