Joke
Last updated
Was this helpful?
Last updated
Was this helpful?
Represents a Joke returned in method.
Attributes
category
The category of the joke.
Type:
type
The type of joke. Can either be single
or twopart
.
joke
flags
The flags a joke has. These are useful to filter the jokes.
id
The joke's unique ID.
safe
Determines if the joke is marked safe or not.
lang
The language of the joke. Mostly it is en
language
Type:
The actual joke. This can be dict
or str
depending on what the type of joke is. If the type if single
this will be str
otherwise this will be dict
having two values, setup
and delivery
. Read page to see how joke object works.
Type: or
Type:
Type:
Type:
Type:
An alias for attribute
Type: