Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kurtbuilds/render
- Owner: kurtbuilds
- License: mit
- Created: 2021-12-07T19:34:35.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T22:46:19.000Z (about 1 month ago)
- Last Synced: 2024-10-13T19:08:37.469Z (24 days ago)
- Topics: deployment
- Language: Rust
- Homepage:
- Size: 249 KB
- Stars: 21
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
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).*