paddle-rust-sdk 0.17.0

Rust SDK for working with the Paddle API in server-side apps. (Unofficial)
Documentation
use paddle_rust_sdk::{enums::CountryCodeSupported, Paddle};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Paddle::new(std::env::var("PADDLE_API_KEY")?, Paddle::SANDBOX)?;

    let address = client
        .address_create("ctm_01jqztc78e1xfdgwhcgjzdrvgd", CountryCodeSupported::US)
        .first_line("Address first line")
        .second_line("Address second line")
        .city("Atlanta")
        .postal_code("30033")
        .region("GA")
        .send()
        .await?;

    dbg!(address);

    Ok(())
}