https://github.com/yybit/vultr-api
Vultr api client
https://github.com/yybit/vultr-api
Last synced: about 1 year ago
JSON representation
Vultr api client
- Host: GitHub
- URL: https://github.com/yybit/vultr-api
- Owner: yybit
- License: mit
- Created: 2022-04-09T08:50:38.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-06T12:54:55.000Z (over 2 years ago)
- Last Synced: 2025-05-02T18:53:36.110Z (about 1 year ago)
- Language: Rust
- Homepage: https://crates.io/crates/vultr-api
- Size: 7.81 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### vultr-api
rust implementation of vultr api client
#### Status
- account
- [x] get_account_info
- billing
- [x] list_billing_history
- [x] list_billing_invoices
- [x] get_billing_invoice
- [x] list_billing_history
- dns
- [x] list_dns_domains
- [x] list_dns_domain_records
- instance
- [x] list_instances
- [x] get_instance
#### Usage
Cargo.toml
```
vultr-api = { version = "0.1.0", features = ["client"] }
```
Example
```rust
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?;
```