use anyhow::Result;
use netcup_client::prelude::*;
#[tokio::main]
async fn main() -> Result<()> {
let customer_no = 4711;
let api_key = "api_key";
let api_password = "api_password";
let client = NetcupClient::new(api_key, customer_no);
let client = client.login(api_password).await?;
let result = client.get_dns_zone("example.tld").await?;
println!("{:?}", result);
client.logout().await?;
Ok(())
}