Crates.io | workos-rust |
lib.rs | workos-rust |
version | 0.2.1 |
source | src |
created_at | 2021-07-08 09:31:20.942217 |
updated_at | 2021-07-11 08:55:42.75734 |
description | unofficial rust sdk for interacting with the workos api |
homepage | |
repository | https://github.com/perkbox/workos-rust |
max_upload_size | |
id | 420247 |
size | 29,909 |
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);
}