nigeria-bulk-sms
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

Logo

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.

MIT License GPLv3 License AGPL License

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...

Documentation

Documentation

Package Sidebar

Install

npm i nigeria-bulk-sms

Weekly Downloads

38

Version

1.0.8

License

MIT

Unpacked Size

10.7 kB

Total Files

14

Last publish

Collaborators

  • ismailawa