1 unstable release

0.1.0 Dec 6, 2023

#11 in #billing

MIT license

23KB
393 lines

vultr-api

rust implementation of vultr api client

Status

  • account
    • get_account_info
  • billing
    • list_billing_history
    • list_billing_invoices
    • get_billing_invoice
    • list_billing_history
  • dns
    • list_dns_domains
    • list_dns_domain_records
  • instance
    • list_instances
    • get_instance

Usage

Cargo.toml

vultr-api = { version = "0.1.0", features = ["client"] }

Example

let vultr_client = VultrClient::new("https://api.vultr.com/v2".into(), token.into(), Duration::from_secs(10));
vultr_client.list_dns_domains(Some(100), None).await?;

Dependencies

~0.3–12MB
~153K SLoC