norris 0.1.3

Simple async wrapper for the Chuck Norris Joke API: https://api.chucknorris.io/
Documentation

Norris

Simple async wrapper for the Chuck Norris Joke API.

Usage

Example for retrieving a random joke:

use::std::error::Error;
use::norris::get_random_joke;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    let joke = get_random_joke().await?.value;
    println!("{}", joke);
    Ok(())
}

Documentation

Please refer to docs.rs.