Using icanhazdadjoke-sdk with jokes.one

Rust integration

Install
cargo add icanhazdadjoke-sdk
Quick start
use icanhazdadjoke_sdk::Client;

let client = Client::new("YOUR_API_KEY");
Gets `Joke of the Day`. Optional `category` param determines the category of …
curl \
  -H "X-JokesOne-Api-Secret: $API_KEY" \
  /jod
Gets a `Joke` with a given `id`.
curl \
  -H "X-JokesOne-Api-Secret: $API_KEY" \
  /joke
Get the list of jokes in your private collection.
curl \
  -H "X-JokesOne-Api-Secret: $API_KEY" \
  /joke/list
SDK on GitHub 📄 API Docs
SDK
icanhazdadjoke-sdk
Rust
API
jokes.one
jokes.one
At a glance
Language Rust
Endpoints12