mrnotify-sdk
v1.0.0
Published
Package to send SMS via MrNotify [www.mrnotify.lk]
Downloads
1
Readme
MrNotify SDK - Node.js
Package to send SMS via MrNotify
Installation
npm install mrnotify-sdk --save
Configure Package
const mrnotifySMS = require("mrnotify-sdk");
const apiKey = "xxxxxxxxxxxxxxxxxxxxxxxx";
const requestData = {
msisdn: "947xxxxxxxx",
name: "xxxxxx xxxxxx",
groups: ["xxxxxx", "xxxxxx", "xxxxxx"],
message: "xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx xxxxxxxxxxxx",
};
mrnotifySMS.sendSMS(apiKey, requestData);