render-api

Crates.iorender-api
lib.rsrender-api
version1.1.2
sourcesrc
created_at2023-02-26 05:23:44.846557
updated_at2024-09-17 16:42:08.071258
descriptionRender client, generated from the OpenAPI spec.
homepagehttps://github.com/libninjacom/render-rs
repositoryhttps://github.com/libninjacom/render-rs
max_upload_size
id794858
size134,122
Kurt Wolf (kurtbuilds)

documentation

https://docs.rs/render-api

README

Stars Build Status Downloads Crates.io

Render client, generated from the OpenAPI spec.

Usage

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:

[dependencies]
render_api = "0.1.0"

Documentation

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

Contributing

Contributions are welcome!

Library created with Libninja.

Commit count: 17

cargo fmt