shoveover

0.1.0 • Public • Published

shoveover

Pushover API client for node

Build Status

Installation

npm install shoveover

Usage

shoveover exposes an Application constructor; this contains one method, notify, allowing you to send notifications as that application targeted to a specific user/device.

The object passed to notify can include params (minus token) outlined here.

var pushover = require("shoveover");
 
var MyApp = new pushover.Application({ token: "MyAppToken" });
 
MyApp.notify({
    user: "UserToken",
    message: "Test notification!"
}, function (error) {
 
    if (error) return console.log(error);
 
    console.log("Notification sent to user via Pushover!");
});

Package Sidebar

Install

npm i shoveover

Weekly Downloads

1

Version

0.1.0

License

BSD

Last publish

Collaborators

  • expr