chucknorris 1.0.0
chucknorris: ^1.0.0 copied to clipboard
API-based joke retrieval package with simple request methods. Add some humor to your project with ease.
API-based joke retrieval package with simple request methods. Add some humor to your project with ease. #
Features #
- 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');
Categories #
- animal
- career
- celebrity
- dev
- explicit
- fashion
- food
- history
- money
- movie
- music
- political
- religion
- science
- sport
- travel
Usage #
final randomJokes = await Chucknorris.getRandomJokes(count: 5);
final categoryJokes =
await Chucknorris.getJokesFromCategory('movie', count: 5);
final queryJokes = await Chucknorris.getJokesFromQuery('music');
Credits #
Credits to the free Chucknorris api:
https://api.chucknorris.io/