Skip to content

hyperether/pipitit-node-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

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.

Releases

No releases published

Packages

No packages published