msg-91

1.0.1 • Public • Published

MSG91 Node.js API

Installation

npm install msg-91 --save

Usage

const msg91 = require('msg91')

/*
    * Key - API Key
    * Sender - Sender ID
    * Route - SMS Route (1 for promotional & 4 for transactional)
    * number - country code + phone (XXXXXXXXXX or XXXXXXXXXX, XXXXXXXXXX, XXXXXXXXXX)

*/

msg91.sendSMS(key, sender, route, number, message, function(status) {
    console.log(status)
})

Readme

Keywords

Package Sidebar

Install

npm i msg-91

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • isanjayachar