Socket
Socket
Sign inDemoInstall

node-rocketsms-api

Package Overview
Dependencies
49
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    node-rocketsms-api

RocketSMS sms-gateway API.


Version published
Weekly downloads
38
decreased by-11.63%
Maintainers
2
Install size
3.84 MB
Created
Weekly downloads
 

Readme

Source

node-rocketsms-api

RocketSMS sms-gateway API.

build status

Installation

This module is installed via npm:

$ npm install node-rocketsms-api

Example Usage

var RocketSMS = require('node-rocketsms-api');

var sms = new RocketSMS({username: '999999999', password: 'XXXXXXXX'});

Create message

sms.send('375999999999', 'Привет, мир!', true)
  .then(function(res) {
    ...
  })
  .catch(function(err) {
    ...
  };

Message status

sms.status(34305153)
  .then(function(res) {
    ...
  })
  .catch(function(err) {
    ...
  })

Account balance

sms.balance()
  .then(function(res) {
    ...
  })
  .catch(function(err) {
    ...
  })

Alfa-numbers list

sms.senders()
  .then(function(res) {
    ...
  })
  .catch(function(err) {
    ...
  })

Add alfa-number

sms.addSender('99999999999')
  .then(function(res) {
    ...
  })
  .catch(function(err) {
    ...
  })

Templates list

sms.templates()
  .then(function(res) {
    ...
  })
  .catch(function(err) {
    ...
  })

License

3-clause BSD © Egor Kuryanovich

Keywords

FAQs

Last updated on 09 Feb 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc