Graditude Questions

# Begin Rapid API Code
import requests

url = "https://gratitude-questions.p.rapidapi.com/question"

headers = {
	"X-RapidAPI-Key": "618474c20emshb969af58dc7ea8fp142551jsn4e58bb034dc2",  # place your key here
	"X-RapidAPI-Host": "gratitude-questions.p.rapidapi.com"
}

response = requests.request("GET", url, headers=headers, params=querystring)
print(response.json())
# End Rapid API Code
json = response.json()  # convert response to python json object

# Observe data from an API.  This is how data transports over the internet in a "JSON" text form
# - The JSON "text" is formed in dictionary {} and list [] divisions
# - To read the result, Data Scientist of  Developer converts JSON into human readable form
# - Review the first line, look for the keys --  "status" and "data"
{'question': 'What happened today/this week/this month/this year for which Iā€™m grateful?'}