9

Me: I need some stickers
Devrant: Give some programming jokes
Me:
#Take as many as you want
import requests

# api-endpoint
URL = "http://devrant.com/jokes/"

# sending get request and saving the response as response object
r = requests.get(url = URL, params = "funnyprogrammingjoke")

# extracting data in json format
Joke = r.json()

# printing the output
print(Joke)

Comments
Add Comment