Skip to content

This is a node module I created to help consume Pushwoosh services in NodeJS

Notifications You must be signed in to change notification settings

chalettu/pushwoosh-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pushwoosh

This is a node module I created to help consume Pushwoosh services in NodeJS

Installation

npm install pushwoosh --save

Usage

  var pushWoosh = require('pushwoosh');
  var pushClient= new pushWoosh("ApplicationId","APIToken");

  var config={
  "send_date":"now",
  "ignore_user_timezone": true,
  "content":"test push message",
  "data":{"custom":"this is a test"},
  "platforms":[1,2,3,4,5,6,7,8,9,10,11],
  "devices":[
    "deviceId"
  ]
};

pushClient.sendMessage(config).then(function(data){

console.log(data.status_code);
});

Tests

Coming soon

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.0.1 Initial release

About

This is a node module I created to help consume Pushwoosh services in NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •