API-based joke retrieval package with simple request methods. Add some humor to your project with ease.
- Get random jokes
await Chucknorris.getRandomJokes(count: 5);
- Get jokes from categories
await Chucknorris.getJokesFromCategory('movie', count: 5);
- Get jokes from a query
await Chucknorris.getJokesFromQuery('music');
- animal
- career
- celebrity
- dev
- explicit
- fashion
- food
- history
- money
- movie
- music
- political
- religion
- science
- sport
- travel
final randomJokes = await Chucknorris.getRandomJokes(count: 5);
final categoryJokes =
await Chucknorris.getJokesFromCategory('movie', count: 5);
final queryJokes = await Chucknorris.getJokesFromQuery('music');
Credits to the free Chucknorris api:
https://api.chucknorris.io/