pshbullet_client

Unofficial Pushbullet API client.

This crate has support for a limited set of the APIs.

Push API

Device API

Chat, Subscription, User, Upload API are not supported.

Examples

```rust use pshbulletclient::*; use pshbulletclient::push::*;

fn push() { let target = Target::Broadcast; //let target = Target::Device(""); let noterequest = Request::Note { title: "note title", body: "test push" }; let client = PushbulletClient::new(String::from("")); let (result, headers) = client.createpush(&target, note_request).unwrap(); println!("result: {:?}", result); println!("response headers: {:?}", headers); } ```

See examples/ directory for more.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.