1 unstable release

0.1.0 Dec 6, 2023

#6 in #billing

Download history 9/week @ 2024-02-24 14/week @ 2024-03-30 1/week @ 2024-04-06 58/week @ 2024-04-20

73 downloads per month

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.4–12MB
~154K SLoC