Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kurtbuilds/render

A CLI tool for Render.com
https://github.com/kurtbuilds/render

deployment

Last synced: 10 days ago
JSON representation

A CLI tool for Render.com

Awesome Lists containing this project

README

        



Stars


Build Status



Downloads


Crates.io

This repository also contains a Render command line tool, in the `cli` directory. You can install it with `cargo install render_cli`.

Render client, generated from the OpenAPI spec.

# Usage

```rust
use render_api::RenderClient;
use render_api::model::*;
#[tokio::main]
async fn main() {
let client = RenderClient::from_env();
let response = client
.list_authorized_users_and_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`

# Installation

Add this to your Cargo.toml:

```toml
[dependencies]
render_api = ".."
```

# Documentation

* [Client Library Documentation](https://docs.rs/render-api)

You can see working examples of every API call in the `examples/` directory.

# Contributing

Contributions are welcome!

*Library created with [Libninja](https://www.libninja.com).*