Expand description
Afinsp Billing SDK for Rust.
The main entry point of this library is the API client api::Afinsp.
§Example
use afinsp_rs::api::{Afinsp, AfinspOptions};
#[tokio::main]
async fn main() -> Result<(), afinsp_rs::error::Error> {
let client = Afinsp::new("your-api-key".to_string(), None);
// List customers
let customers = client.customers().list_customers(None).await?;
println!("Found {} customers", customers.data.len());
Ok(())
}