TSAR Client API
This is the official TSAR Client API wrapper for rust.
Example Import
= "*"
Example Usage
use Client;
let api = new;
match api.authenticate_user
This is the official TSAR Client API wrapper for rust.
tsar-client = "*"
use tsar_client::Client;
let api = Client::new(APP_ID, PUBLIC_KEY);
match api.authenticate_user() {
Ok(data) => println!("Success: {:?}", data), // Auth Success
Err(err) => println!("\x1b[31m[AUTH ERROR] {:?}\x1b[0m: {}", err, err), // Auth Failed
}