Render client, generated from the OpenAPI spec.
```rust use renderapi::RenderClient; use renderapi::model::*;
async fn main() { let client = RenderClient::fromenv(); let response = client .listauthorizedusersand_teams() .cursor("your cursor") .email("your email") .limit("your limit") .name("your name") .await .unwrap(); println!("{:#?}", response); } ```
This example loads configuration from environment variables, specifically:
RENDER_API_KEY_AUTH
Add this to your Cargo.toml:
toml
[dependencies]
render_api = "0.1.0"
You can see working examples of every API call in the examples/
directory.
Contributions are welcome!
Library created with Libninja.