heroku-rs

This project is currently under development

Intro

This is a rust wrapper inspired by github-rs, for the Heroku v3 API .

This is a work in progress mostly as a way to learn Rust.

Getting Started

Add the following to your Cargo.toml

toml [dependencies] heroku_rs = "0.2" serde_json = "1.0" run: cargo build

then in your main.rs

```rust use herokurs::client::{Executor, Heroku}; use serdejson::Value;

let client = Heroku::new("APIKEYHERE").unwrap(); let me = client.get().apps().execute::(); match me { Ok((headers, status, json)) => { println!("{:#?}", headers); println!("{}", status); if let Some(json) = json { println!("{}", json); } } Err(e) => println!("Err {}", e), } ```

Useful links

Heroku quickstart

Heroku API reference

Generating a heroku API key

License

Licensed under either of

at your option.

Licensing

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.