4 releases
Uses old Rust 2015
0.0.4 | Feb 2, 2018 |
---|---|
0.0.3 | Feb 1, 2018 |
0.0.2 | Jan 31, 2018 |
0.0.1 | Jan 23, 2018 |
#336 in Email
35 downloads per month
86KB
1.5K
SLoC
Helpscout API Bindings in Rust
Currently in active development.
Click here for documentation and example usage
See the tests directory for more examples.
lib.rs
:
Help Scout API Bindings in Rust Documentation
Help Scout References:
Note: the api module implements the Help Desk API.
Usage
Add the dependency to your Cargo.toml:
[dependencies]
helpscout = "*"
Create a client and then use any of the endpoints.
use helpscout::Client;
fn main() {
let api_key = env::var("HELPSCOUT_API_KEY").expect("to have HELPSCOUT_API_KEY set");
let client = Client::new(&api_key);
// Used the mailbox list endpoint for test. Use whatever you need here.
let mailboxes = mailboxes::list(&client);
assert!(mailboxes.items.len() > 0);
}
Additional client setup documentation can be found here: Client
Endpoints
Drill down into endpoint documentation by following the links below.
Dependencies
~26–35MB
~734K SLoC