Skip to content

Instantly share code, notes, and snippets.

@codewithpom
Last active July 16, 2021 08:10
Show Gist options
  • Save codewithpom/95edebabad97bcbc587e13e1b22b5b62 to your computer and use it in GitHub Desktop.
Save codewithpom/95edebabad97bcbc587e13e1b22b5b62 to your computer and use it in GitHub Desktop.
import requests
url = "https://type.fit/api/quotes"
data = requests.get(url).json()
for i in data:
print(i['text'])
print(i['author'])
print()
print()
# Have fun
# Completed create whatever you want.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment