extern crate yubico;

use yubico::config::*;
use yubico::verify;

fn main() {
    let config = Config::default()
        .set_client_id("CLIENT_ID")
        .set_key("API_KEY");

    match verify("OTP", config) {
        Ok(answer) => println!("{}", answer),
        Err(e) => println!("Error: {}", e),
    }
}
