Expand description
§joketeller
joketeller is a simple lib to make requests to the jokeapi written by sv443.
A simple use case may to get a random joke from the API with no filters or cases
use joketeller::Joker;
let mut joker_client: Joker = Joker::new();
let joke = joker_client.get_joke().unwrap();Get started with the client.
Re-exports§
pub use serde_json;
Structs§
- Joker
- The main client struct that connects to the jokeapi
Enums§
Constants§
- BASE_
URL - The base URL for the jokeapi