//! Simple example that shows how to read username from stdin and print skills of a user
extern crate codewars_api;
extern crate tokio;
use codewars_api::rest_api::client::RestCodewarsClient;
#[tokio::main]
async fn main() {
// Initialize client
let client = RestCodewarsClient::new();
println!("Name of first authored challenge: '{}'", client.get_authored_challenges("Dentzil").await.unwrap().data.first().unwrap().name);
}