Searchโ€ฆ
๐ŸŽฒ
Random

Random joke

1
const blague = await api.jokes.random(); // Return: Promise
Copied!
With this method, you can specify certain categories that you do not want to receive.
1
const blague = await api.jokes.random({
2
disallow: ['dark', 'limit']
3
}); // Return: Promise
Copied!
โ€‹
Lists of available categories:
  • global
  • dev
  • dark
  • limit
  • beauf
  • blondes
Export as PDF
Copy link