tsar-client 0.0.1

Official wrapper for the TSAR Client API
Documentation

TSAR Client API

This is the official TSAR Client API wrapper for rust.

Example Import

tsar-client = "*"

Example Usage

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
}