Skip to content

Latest commit

 

History

History
49 lines (30 loc) · 764 Bytes

README.md

File metadata and controls

49 lines (30 loc) · 764 Bytes

Joker.py

About

A simple python package to get jokes and puns.

How to use?

You can use this by package from Joker.py

pip install joker.py

Why use this?

To fetch jokes and puns on your projects.

How to use?

from joker import Joker


joker = Joker()
joke = joker.joke()
print(joke)

puns = joker.puns(5)
for pun in puns:
    print(pun)

Available functions

  • joke() - returns a random joke
  • jokes(n) - returns n random jokes
  • pun() - returns a random pun
  • puns(n) - returns n random puns

Want To Contribute?

You can send a pull request or open an issue to contribute. Check out CODE OF CONDUCT before contributing.

License

MIT License