Skip to content

Commit

Permalink
Update api_data_wrangling_mini_project.py
Browse files Browse the repository at this point in the history
  • Loading branch information
juanman2 authored Feb 1, 2021
1 parent a612b71 commit 635e214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebook/api_data_wrangling_mini_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# Now, call the Quandl API and pull out a small sample of the data (only one day) to get a glimpse
# into the JSON structure that will be returned
URL="https://www.quandl.com/api/v3/datasets/CFTC/0233CV_FO_L_ALL_CR.json?api_key=B3aaZK2qsywQxcx2GM1T&"
URL="https://www.quandl.com/api/v3/datasets/CFTC/0233CV_FO_L_ALL_CR.json"
parameters = {'start_date': '2020-01-01', 'end_date':'2020-12-31'}
response = requests.get(URL, params=parameters)
if response.status_code != 200:
Expand Down

0 comments on commit 635e214

Please sign in to comment.