Skip to content

Rust api client for demos.tf

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

demostf/api-client

Repository files navigation

api-client

Build Status

Rust api client for demos.tf

Example

use demostf_client::{ListOrder, ListParams, ApiClient};

#[tokio::main]
async fn main() -> Result<(), demostf_client::Error> {
    let client = ApiClient::new();
    
    let demos = client.list(ListParams::default().with_order(ListOrder::Ascending), 1).await?;
    
    for demo in demos {
        println!("{}: {}", demo.id, demo.name);
    }
    Ok(())
}

About

Rust api client for demos.tf

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published