front-apiA fully generated & opinionated API client for the Front API.
| name | email | |----|----| | Front Platform | api@frontapp.com |
The documentation for the crate is generated along with the code to make this library easy to use.
To install the library, add the following to your Cargo.toml file.
toml
[dependencies]
front-api = "0.0.1"
Typical use will require intializing a Client. This requires
a user agent string and set of credentials.
```rust,norun use frontapi::Client;
let client = Client::new( String::from("api-key"), ); ```
Alternatively, the library can search for most of the variables required for the client in the environment:
FRONT_API_TOKENAnd then you can create a client from the environment.
```rust,norun use frontapi::Client;
let client = Client::newfromenv(); ```