18 releases
0.4.6 | May 3, 2025 |
---|---|
0.4.5 | Dec 24, 2024 |
0.4.3 | Aug 21, 2022 |
0.4.2 | Jun 28, 2022 |
0.1.1 | Jul 25, 2020 |
#424 in Web programming
28 downloads per month
37KB
686 lines
api-client
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(())
}
Dependencies
~9–24MB
~376K SLoC