21 releases

0.3.18 May 19, 2024
0.3.15 Nov 22, 2023
0.3.14 Jun 10, 2023
0.3.9 Mar 29, 2023
0.2.6 Nov 24, 2021

#1 in #pushover

Download history 15/week @ 2024-07-01 209/week @ 2024-07-29 1/week @ 2024-08-19 7/week @ 2024-08-26 71/week @ 2024-09-23

73 downloads per month

MIT license

39KB
728 lines

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

Note

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

Changelog

0.3.18

  • Support the TTL option

Dependencies

~6–17MB
~229K SLoC