~josealberto4444/apodnasabot

7373fb9c3ae872d70f16d43684517d47d8f5eef5 — José Alberto Orejuela García 2 years ago 79584b8
Get the response as JSON object
1 files changed, 1 insertions(+), 1 deletions(-)

M api.py
M api.py => api.py +1 -1
@@ 23,4 23,4 @@ api_key = config['NASA_API']['api_key']
baseurl = 'https://api.nasa.gov/planetary/apod'
payload = {'api_key': api_key}
r = requests.get(baseurl, params = payload)
print(r)
api_response = r.json()