https://github.com/iwertyuiop123653/joker
Joking is a python library for getting random dad jokes and more kinds of jokes
https://github.com/iwertyuiop123653/joker
comedy jokes pypi-package python webscrapping
Last synced: 8 months ago
JSON representation
Joking is a python library for getting random dad jokes and more kinds of jokes
- Host: GitHub
- URL: https://github.com/iwertyuiop123653/joker
- Owner: Iwertyuiop123653
- License: mit
- Created: 2022-07-27T01:49:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-24T23:30:39.000Z (over 2 years ago)
- Last Synced: 2025-01-31T07:21:49.851Z (9 months ago)
- Topics: comedy, jokes, pypi-package, python, webscrapping
- Language: Python
- Homepage: https://pypi.org/project/Joking/
- Size: 89.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.txt
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# Joking
## Warning Some functions no longer work as intended

```python
>>>import Joking
>>>random_dad_joke()
My friend told me that pepper is the best seasoning for a roast, but I took it with a grain of salt.
>>>programming_joke()
The glass is neither half-full nor half-empty, the glass is twice as big as it needs to be.
>>>random_joke()
Why does Santa go down the chimney?Because it soots him!
>>>random_knock_knock_joke()
knock knock joke example
>>>print("bye")
bye
```Joking is a python library for getting random dad jokes and more kinds
of jokes







# Installation
you can install it by using the [pip](https://pip.pypa.io/en/stable/)
package manager``` bash
pip install Joking
```# How to Use
``` python
Multiple_Jokes(i) #i is for the amount of dad jokes
`````` python
random_dad_joke() #prints out a random dad joke
`````` python
programming_joke() #prints a random programming joke
`````` python
random_joke() #prints a random joke
`````` python
sjoke() #Gets a specific joke using the joke id from https://icanhazdadjoke.com/
`````` python
search_for_joke() #prints the top result for the joke you searched
`````` python
Random_knock_knock_joke() #gets a random knock knock joke
`````` python
skkjoke() #Gets a specific knock knock joke using the joke id
`````` python
DarkJoke() #Gets a dark joke that is potentially sexist or racist
`````` python
Pun() #Gets a random pun
`````` python
Submit_joke() #submits a joke
`````` python
yo_mama_joke_slash_insults() #Gets a random Yo mama joke or insult
```
```python
animal_joke() #Gets a random animal Joke
``````python
chuck_norris_joke() #Gets a chuck noris joke? (I don't even know what a chuck noris joke is)
``````python
Meme() #Gets memes (You can specify subreddit to get meme from)
```# F.A.Q.
Q. *Who make's The Jokes?*
A. **The whole of the internet**
Q. *Are some jokes Inappropriate?*
A. **No. Most Joke's with the exception of Dark Jokes are not Inappropriate**
# How it works
It works by web scraping https://icanhazdadjoke.com/, jokes4us.com and using version
2 of jokeapi.dev# Joke id's
Joke ids are Joke ids from icanhazdadjoke.com or from
http://www.jokes4us.com/knockknockjokes/random/knockknock{id go here}.html To find
a jokes id just search icanhazdadjoke.com or find the knock knock joke
you want from
http://www.jokes4us.com/knockknockjokes/index.html# How to contribute
- Start by going to https://github.com/Iwertyuiop123653/Joker
- Then fork the repository
- make the changes you want
- Then commit# Contact
jokingpython@gmail.com or contact me via this form -> https://bit.ly/3CFTHeX