1.0.2 • Published 8 years ago
pushy-notify v1.0.2
A small node.js library for push notifications using pushy. for more info visit pushy
How to use
var pushy=require('pushy-notify');
//device registrationIds
var registrationIds= [];
registrationIds.push('');
//data in push notification
var data={"message":{"from":"sai", "msg":"hi"}};
//api key from pushy
var apikey='';
//pass values to pushy
pushy(apikey,registrationIds,data,function(response){
console.log(response);
});
Installation
npm install pushy-notify
license
MIT