/nzero-push

ZeroPush is a simple service for sending Apple Push Notifications. This library wraps the API requests for use in NodeJS.

Primary LanguageJavaScriptMIT LicenseMIT

nzero-push

NPM version Dependency Status License NPM Downloads Code Climate

Description

ZeroPush is a simple service for sending Push Notifications (Apple & Google). This library wraps the API requests for use in NodeJS.

To do

  • /!\ Maybe run some tests /!\

Changes log

See changes log.

Contributors

See contributors.

License

See license.

Available endpoints

  • /notify : Sends a notification to a list of device tokens.
  • /register : Registers a device and/or updates the devices active status or unregisters a previously registered device token.
  • /unregister : Unregisters a previously registered device token.
  • /inactive_tokens : Returns an array of device tokens along with the time each token was marked inactive.
  • /set_badge : Sets a device's badge number to a given value.
  • /broadcast/:channel : Sends a notification to all registered and active devices in specified channel.
  • /devices[/:device_token] : Get all, one or update device(s) details.
  • /channels[/:channel_name] : Get all, one or delete channel(s).

Full documentation

See the wiki for full documentation about module API.