porkbun-api 1.0.4

an async implementation of porkbun's domain management api.
Documentation
1
2
3
4
5
6
7
8
9
10
#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let file = std::fs::File::open("secrets/api_key.json")?;
    let api_key = serde_json::from_reader(file)?;
    let mut client = porkbun_api::Client::new(api_key);

    println!("{:#?}", client.get_ssl_bundle("fckn.gay").await?);

    Ok(())
}