Describe the bug
The example in the README.md doesn't work and throws an error
To Reproduce
Run the example in README.md
Expected behavior
Return a joke
Error and/or code snippet
Traceback (most recent call last): File "main.py", line 5, in <module> if joke["type"] == "single": # Print the joke TypeError: list indices must be integers or slices, not str
Describe the bug The example in the README.md doesn't work and throws an error
To Reproduce Run the example in README.md
Expected behavior Return a joke
Error and/or code snippet
Traceback (most recent call last): File "main.py", line 5, in <module> if joke["type"] == "single": # Print the joke TypeError: list indices must be integers or slices, not str
Please complete the following information: