JokeTeller - an API client for Sv443's JokeAPI

Current Version: 0.1.0

[dependencies] joketeller = { git = "https://www.github.com/canarado/joketeller", branch = "stable" }

View the Sv443 API here.

This crate is in active development, there is full support for getting jokes, but all other API features are being added with time.

Basic Usage

```rs use joketeller::{ Joker, Category, BlacklistFlag, }

let mut joker_instance: Joker = Joker::new();

// Chainable API jokerinstance .addcategories(&mut vec![Category::Programming, Category::Pun]) .addblacklistflags(&mut vec![BlacklistFlag::Explicit]);

// get JSON joke let joke = jokerinstance.getjoke().unwrap();

// get https url to make your own request let builtapiurl = jokerinstance.buildurl().unwrap(); ```

Documentation

The docs are always being updated, current docs can be found here.