These are multiple python scripts to fetch dad jokes from icanhazdadjoke.com API.
- random_dad_joke.py fetches a random dad joke everytime that the script is ran
- search_dad_joke.py fetches a random dad joke based on the topic the user inputs when the program is ran.
- random_joke_gui.py GUI! fetches a random dad joke every time you click the button
I know these programs have a lot of comments! But I post them here for educational purposes and hopefully the extra comments will help people that are learning python better understand the logic I used!
These are very simple programs to practice using APIs in python. You can make more detailed programs following the icanhazdadjoke.com api documentation here: https://icanhazdadjoke.com/api
You can buy me a coffee if you wish to support me and enjoy the content here! I will greately appreciate it! https://www.buymeacoffee.com/soos3d