nigeria-bulk-sms
v1.0.8
Published
This is package to help javascript developers with seemless integration of Nigeria Bulk SMS api service.
Downloads
14
Maintainers
Readme
SMS GATEWAY API
Do you need a reliable SMS Gateway API in Nigeria? Are you a developer or bulk SMS reseller? You can interface your application, website, or system with our 247 reliable messaging gateway by using our very flexible HTTP and SMPP connections. With this, you gain international delivery, DND delivery, One Time Password, transactional messages, etc.
Installation
Install SMS GATEWAY API with npm or yarn
npm install --save nigeria-bulk-sms
yarn add nigeria-bulk-sms
Usage/Examples
import { NBSMS } from nigeria-bulk-sms;
const NBSMSClient = new NBSMS({
username: 'XXXXXXX',
password: 'xxxxxxxxx',
senderPhoneNumber: '090xxxxxxxxx',
});
const result = await NBSMSClient.sms.send({
message: "hello",
phones:['090xxxxxxxx', '080xxxxxxxx'],
type: "call", // Optional field it can be either "call" || "tts"
});
console.log(result);
import { NBSMS } from nigeria-bulk-sms;
const NBSMSClient = new NBSMS({
username: 'XXXXXXX',
password: 'xxxxxxxxx',
senderPhoneNumber: '090xxxxxxxxx',
});
const result = await NBSMSClient.sms.balance();
console.log(result);
Authors
🚀 About Me
I'm a full stack developer...