Using random-jokes-sdk with jokes.one

TypeScript integration

Install
npm install random-jokes-sdk
Quick start
import Random_jokes_sdk from 'random-jokes-sdk';

const client = new Random_jokes_sdk({ apiKey: "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
random-jokes-sdk
TypeScript
API
jokes.one
jokes.one
At a glance
Language TypeScript
Endpoints12