pp

pushover-promise

Pushover.net API. Currently supporting Message API.

Showing:

Popularity

Downloads/wk

23

GitHub Stars

1

Maintenance

Last Commit

5yrs ago

Contributors

1

Package

Dependencies

1

Size (min+gzip)

5.5KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

pushover-promise

Travis

Pushover.net API promise wrapper.

Currently supporting only the message API.

Installation

It's available on npm.

npm install --save pushover-promise

API Documentation

Usage

Basic


import { Message } from 'pushover-promise';
// or
const Message = require('pushover-promise').Message;

const user = 'user';
const token = 'token';

const msg = new Message(user, token);

msg.push('Pushover message API is now as a promise')
.then(console.log)
.catch(console.error);

All included

const Message = require('pushover-promise').Message;

const user = 'user';
const token = 'token';

const msg = new Message(user, token);

msg.push('Pushover message API is now as a promise', {
    title: 'Check out my package', // Optional
    url: 'http://www.npmjs.com/package/pushover-promise', // Optional
    url_title: 'package: pushover-promise', // Optional
    priority: 2, // Optional
    retry: 30, // Optional
    expire: 120 // Optional
})
.then(console.log)
.catch(console.error);

Missing pieces

Tests

$ npm test

Contribution

Contributions are appreciated.

License

MIT-licensed. See LICENSE.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100