Your application's Pushover API token
The user/group key representing the default recipient(s) of messages sent
Object containing the latest received usage limit information. It is automatically updated whenever Pushover.sendMessage or Pushover.getLimits are called.
Add a user to a message delivery group.
Cancel retries of an emergency-priority notification by its receipt ID.
Cancel retries of emergency-priority notifications by a tag.
Temporarily stop sending messages to a user in a message delivery group.
Resume sending messages to a user in a message delivery group.
Fetch information about a message delivery group.
Fetch a list of available message delivery groups.
Fetch the number of available license credits.
Check the status of a receipt from an emergency-priority notification.
Fetch a list of available notification sounds.
Remove a user from a message delivery group.
Rename a message delivery group.
Send a push notification.
Update the data displayed on a widget.
Check that a passed user key is valid.
Optional
device: string
This class is to send requests to the Pushover API. Each method represents one endpoint in the API.
All methods take API parameters as options and return a Promise that resolves to the response data from the Pushover API.
A Pushover API token must be passed at class construction, and a user key can either be passed at construction as a default or passed to individual method calls.