Socket
Socket
Sign inDemoInstall

@quiubas/quiubas-node

Package Overview
Dependencies
47
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @quiubas/quiubas-node

Quiubas NodeJS Library for REST API


Version published
Weekly downloads
109
decreased by-6.03%
Maintainers
2
Install size
3.72 MB
Created
Weekly downloads
 

Readme

Source

Quiubas NodeJS Library npm version

Installation

npm install @quiubas/quiubas-node

API Overview

Every resource is accessed via your quiubas instance:

var quiubas = require('@quiubas/quiubas-node');
// quiubas.{ RESOURCE_NAME }.{ METHOD_NAME }

The last two arguments of every resource method is the success and error callbacks, if no error is specified and an error occurs a throw will shown instead.

Send an SMS

var quiubas = require('@quiubas/quiubas-node');

quiubas.setAuth( 'api_key', 'api_private' );

quiubas.sms.send({
  	to_number: '+52552123524',
  	message: 'Hello there'
  }, (response) => {
    console.log('SUCCESS:', response);
  }, (error) => {
	   console.log('ERROR:', error);
  }
);

Keywords

FAQs

Last updated on 12 Mar 2019

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