Skip to main content

Just-kidding is a python library for getting random dad jokes and more kinds of jokes

Project description

Joking

Joking is a python library for getting random dad jokes and more kinds of jokes

image0 forthebadge forthebadge2 image3 image4 image5 image6 image7 PyPI - Downloads

Installation

you can install it by using the pip package manager

pip install Joking

How to Use

Multiple_Jokes(i) #i is for the amount of dad jokes
random_dad_joke() #prints out a random dad joke
programming_joke() #prints a random programming joke
random_joke() #prints a random joke
sjoke() #Gets a specific joke using the joke id from https://icanhazdadjoke.com/
search_for_joke() #prints the top result for the joke you searched

How it works

It works by web scraping https://icanhazdadjoke.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.html To find a jokes id just search icanhazdadjoke.com or find the knock knock joke you want from http://www.jokes4us.com/knockknockjokes/random/knockknock.html

How to contribute

Start by going to https://github.com/Iwertyuiop123653/Joker then commit.

CHANGELOG


1.1.1 (8/5/2022)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Joking-1.1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

Joking-1.1.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page