shoveover

Pushover API client

Usage no npm install needed!

<script type="module">
  import shoveover from 'https://cdn.skypack.dev/shoveover';
</script>

README

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!");
});