ittv_sdk

Crates.ioittv_sdk
lib.rsittv_sdk
version0.1.4
sourcesrc
created_at2024-03-17 15:22:54.954433
updated_at2024-03-17 17:04:44.071742
descriptionA library for interacting with the ITTV API
homepage
repository
max_upload_size
id1176582
size11,494
Lucas Godoy (wuzi)

documentation

README

ITTV SDK

A Rust SDK for interacting with the ITTV API.

Installation

Add the following to your Cargo.toml file:

[dependencies]
ittv_sdk = "0.1"

Usage

use ittv_sdk::{Client, NewCustomer};

#[tokio::main]
async fn main() {
    let client = Client::new("your_api_key");
    
    let customer = NewCustomer {
        name: "John Doe",
        // ...
    };

    let response = client
        .create_customer(customer)
        .await
        .unwrap();

    println!("{:?}", response);
}
Commit count: 0

cargo fmt