netcup-client

Crates.ionetcup-client
lib.rsnetcup-client
version0.1.0
sourcesrc
created_at2023-06-10 09:20:38.221769
updated_at2023-06-10 09:20:38.221769
descriptionWrapper client for the netcup DNS API
homepagehttps://github.com/sissto/netcup-client
repositoryhttps://github.com/sissto/netcup-client
max_upload_size
id886810
size48,969
(sissto)

documentation

README

Netcup client

Cargo Build & Test

Client for the netcup DNS API. It's not related to the netcup GmbH.

Prerequisites

  • Netcup account with at least one domain
  • Api-key and api-password generated via netcup account management tool (CCP)

Getting started

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

cargo fmt