Giter Site home page Giter Site logo

connector's Introduction

Connector

A client library that helps you easily interact with the Enterprise Connector API to send SMS's.

Installation

gem 'connector', :git => "git://github.com/nextbss/connector.git"

or

require 'connector'

Send an SMS

  options = {"api_key" => "YOUR_API_KEY"}
  Connector.send_sms("Hey, I am a developer", "+244994567098", options)

Get all SMS's and returns an array of hashes

  options = {"api_key" => "YOUR_API_KEY"}
  Connector.get_all_sms(options)

  # [{"id"=>"0f0a4949-6baf-4bb6-86fd-de0d55d341a8", "created_at"=>"2020-04-24T19:17:01.4", "content"=>"This message from EC 01", "phone_number"=>"+244999000111", "number_of_messages"=>1, "status"=>"PROCESSING"}, {"id"=>"121e635b-0dc2-475a-929d-d10e726cfc36", "created_at"=>"2020-04-24T10:43:16.067", "content"=>"This message is from EC 02", "number_of_messages"=>1, "status"=>"PROCESSING"}] 

Have any doubts?

In case of any doubts, bugs or the like, please leave an issue. We would love to help.

License

The library is available as open source under the terms of the MIT License.

connector's People

Contributors

smaziano avatar

Stargazers

Alexandre Antonio Juca avatar Manuel Ernesto avatar

Watchers

James Cloos avatar Alexandre Antonio Juca avatar  avatar

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.