node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป


Apigee Push Tool

Send quick push notifications with this module.



Params: opts opts is just a simple javascript object with two properties. Your orgName' and yourappName` these correspond to your apigee credentials.


Params: opts, cb

opts is a simple javascript object with the following properties being required.

  1. path - this is the path that will have notifications sent to it. To send a notification to everything use devices;ql=/notifications
  2. notifier - this is the name of the notifier object that holds your push credentials
  3. alert - this is a string that contains your push message.

cb is a callback with an err and data parameters.