vultr-api

Crates.iovultr-api
lib.rsvultr-api
version0.1.0
sourcesrc
created_at2023-12-06 12:57:18.470396
updated_at2023-12-06 12:57:18.470396
descriptionrust library for rust api client
homepagehttps://github.com/yybit/vultr-api
repositoryhttps://github.com/yybit/vultr-api
max_upload_size
id1060016
size23,488
(yybit)

documentation

README

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?;
Commit count: 3

cargo fmt