https://github.com/daniellockyer/pushmore-rust-client
Rust crate to easily send notifications through Telegram
https://github.com/daniellockyer/pushmore-rust-client
notifications pushmore telegram
Last synced: 8 months ago
JSON representation
Rust crate to easily send notifications through Telegram
- Host: GitHub
- URL: https://github.com/daniellockyer/pushmore-rust-client
- Owner: daniellockyer
- License: mit
- Created: 2018-04-18T09:34:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-28T22:01:52.000Z (about 5 years ago)
- Last Synced: 2024-04-14T13:53:04.230Z (about 2 years ago)
- Topics: notifications, pushmore, telegram
- Language: Rust
- Homepage: https://docs.rs/pushmore
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Push More: Instantly send notifications through Telegram
===
This is a Rust crate for the [Push More](https://pushmore.io) service to easily send notifications through Telegram.
[](https://travis-ci.org/neosilky/pushmore-rust-client)
[](https://docs.rs/pushmore)
[](https://crates.io/crates/pushmore)
[](./LICENSE)
- [Documentation](https://docs.rs/pushmore)
## Usage
Add this to your `Cargo.toml`:
```toml
[dependencies]
pushmore = "0.1"
```
and this to your crate root:
```rust
extern crate pushmore;
use pushmore::PushMore;
```
and then you can use it as follows:
```rust
let client = PushMore::new(); // This will use the key stored in the PUSH_MORE_KEY environment variable.
// or
let client = PushMore::new_with_key("".to_string());
client.send("hello!".to_string());
```
## TODO
* Add tests