Skip to content

Emka877/pushover-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pushover RS

Description

It's a Rust client library you can use to interact with the Pushover messaging API.

This client is unofficial and I'm in no way linked to Pushover.

State: Working & Maintained

Where to get it

Get it directly from crates.io

Cargo.toml:

[dependencies]
pushover-rs = "*"
...

How to use

You need

Usage example

See the examples folder

Documentation

It's here

Run the tests

To run the tests, you'll need:

  • Create a /testdata folder, in there:
    • Put a picture called attachment_test.jpg
    • Create a credentials.json with this inside:
{
    "token": "your token",
    "user": "your user key"
}
  • To recap:
/testdata
    /testdata/attachment_test.jpg
    /testdata/credentials.json

Something missing, have a request or something is broken?

Please create an issue here I'll treat it as soon as possible!

Note

The API might change or break in the future, but i'll try my best not to break anything.

Changelog

0.3.23

  • Fixed a bug that prevented sending out emergency priority messages (missing retry and expire options).
    • Now setting priority to value 2 (emergency) requires setting the newly available set_retry and set_expire options.
    • If not provided, default values will be used (retry: 30, expire: 10800).
  • Added support for sending messages with attachments asynchronously. (new exposed method send_with_attachment_async)
  • Upgraded dependencies.

0.3.19 -> 0.3.22

Maintenance updates; upgrade of dependencies.

0.3.18

  • Support the TTL option

About

Rust client library for Pushover

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages