Crates.io | netcup-client |
lib.rs | netcup-client |
version | 0.1.0 |
source | src |
created_at | 2023-06-10 09:20:38.221769 |
updated_at | 2023-06-10 09:20:38.221769 |
description | Wrapper client for the netcup DNS API |
homepage | https://github.com/sissto/netcup-client |
repository | https://github.com/sissto/netcup-client |
max_upload_size | |
id | 886810 |
size | 48,969 |
Client for the netcup DNS API. It's not related to the netcup GmbH.
let customer_no = 4711;
let api_key = "api_key";
let api_password = "api_password";
// login
let client = NetcupClient::new(api_key, customer_no);
let client = client.login(api_password).await?;
// do your things here
let records = client.get_dns_records("example.tld").await?;
...
// logout
client.logout().await?;