This is a node module I created to help consume Pushwoosh services in NodeJS
npm install pushwooshPushwoosh
================
This is a node module I created to help consume Pushwoosh services in NodeJS
npm install pushwoosh --save
javascript
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);
});
``Coming soon
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.
* 0.0.1 Initial release