Skip to content

diwash007/Joker.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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