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
73 downloads per month
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
- A Pushover account (Create one)
- An application you have created through the dashboard (Create one now)
- Your user key
- Your app's token
Usage example
See the examples folder
Documentation
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:
- Put a picture called
{
"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