workos-rust

Crates.ioworkos-rust
lib.rsworkos-rust
version0.2.1
sourcesrc
created_at2021-07-08 09:31:20.942217
updated_at2021-07-11 08:55:42.75734
descriptionunofficial rust sdk for interacting with the workos api
homepage
repositoryhttps://github.com/perkbox/workos-rust
max_upload_size
id420247
size29,909
Matthew Cobbing (cobbinma)

documentation

README

workos-rust

unofficial rust sdk for interacting with the workos api

Crates.io version Download docs.rs docs

Example

use workos_rust::client::Client;

#[async_std::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Client::new(
        None,
        "WORKOS_API_KEY".to_string(),
    );

    let user = client.get_user("directory_user_01F6HYR5T70NBVQ8E3KDTD2YHC").await?;
    
    println!("{:?}", user);
}
Commit count: 0

cargo fmt