A simple python package to get jokes and puns.
You can use this by package from Joker.py
pip install joker.py
To fetch jokes and puns on your projects.
from joker import Joker
joker = Joker()
joke = joker.joke()
print(joke)
puns = joker.puns(5)
for pun in puns:
print(pun)
- joke() - returns a random joke
- jokes(n) - returns n random jokes
- pun() - returns a random pun
- puns(n) - returns n random puns
You can send a pull request or open an issue to contribute. Check out CODE OF CONDUCT before contributing.