Socket
Socket
Sign inDemoInstall

pipitit-node

Package Overview
Dependencies
47
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pipitit-node

Pipitit NodeJS SDK.


Version published
Weekly downloads
2
Maintainers
1
Install size
3.69 MB
Created
Weekly downloads
 

Readme

Source

Pipitit npm version Build Status

Pipitit Logo

Pipitit allows you to send Push, SMS, Email and WebSocket notifications to your customers.

Register multiple applications and get application key for each one of them. This way Pipitit allows you to target your clients on application premises.

Track the status of each Campaign. Our dashboard allows you to track not only Campaign status, but the status of each message in specific Campaign.

Node.JS SDK

Installation

Installing using npm (node package manager):

npm install pipitit-node

Dependencies

Required Dependencies:

  • request

Dev Dependencies (for running tests):

Initialisation

    var pipitit = require('pipitit-node');
    
    var pipit = pipitit.init({
        authId: '<your AUTH ID>', 
        auth_secret: '<your AUTH SECRET>'
    });
    

Usage

    pipit.app_create({name: 'test_app'}, function(status, response){
        if (status != 200 ){
            console.log('ERROR! Didn't create application.');
            console.log('Status:', status);
            console.log('Response:', response);
        } else {
            console.log('YEA! Successfully created application.');
            console.log('Status:', status);
            console.log('Response:', response);
        }
    })
    

Tests

To run tests: npm test or mocha --reporter spec

License


pipitit-node is licensed under the MIT License.

Keywords

FAQs

Last updated on 11 Aug 2017

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