Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I am trying to pull some stock data from Alpha Vantage in my DigitalOcean droplet (Ubuntu with Python pre-installed).
Below is the code snippet:
import requests
import json
r = requests.get('https://www.alphavantage.co/query?function=TIME_SERIES_DAILY&symbol=IBM&key=MYKEY')
print r.json()
I was expecting a JSON object like:
"Meta Data": {
"1. Information": "Daily Time Series with Splits and Dividend Events",
"2. Symbol": "IBM",
"3. Last Refreshed": "2020-10-16",
"4. Output Size": "Compact",
"5. Time Zone": "US/Eastern"
},
"Time Series (Daily)": {
"2020-10-16": {
"1. open": "125.1700",
"2. high": "126.4300",
"3. low": "124.6550",
"4. close": "125.9300",
"5. adjusted close": "125.9300",
"6. volume": "4714320",
"7. dividend amount": "0.0000",
"8. split coefficient": "1.0000"
},
"2020-10-15": {
"1. open": "124.0800",
"2. high": "125.2150",
"3. low": "123.8500",
"4. close": "124.8900",
"5. adjusted close": "124.8900",
"6. volume": "3389301",
"7. dividend amount": "0.0000",
"8. split coefficient": "1.0000"
},
"2020-10-14": {
"1. open": "125.1300",
"2. high": "126.9400",
"3. low": "125.1300",
"4. close": "125.9400",
"5. adjusted close": "125.9400",
"6. volume": "3730139",
"7. dividend amount": "0.0000",
"8. split coefficient": "1.0000"
},
But I got:
{
"Error Message": "the parameter apikey is invalid or missing. Please claim your free API key on (https://www.alphavantage.co/support/#api-key). It should take less than 20 seconds."
}
Having been debugging for hours… Could anyone help me out?
2b943a6c5830489f9a3a6e3ade857e
8c5b08bc277a4e1bbfbcdd305aa232
Kailey Ketchum
9c1989c1c80144c7a9977905ce64c9
a6309a057c3f4cb38fb2e7feb67236
a6309a057c3f4cb38fb2e7feb67236
9c1989c1c80144c7a9977905ce64c9
CometAPI001
Rafiq Mohammed shah
05f65dd4216b456c9c89745746f80e
erel
Jackpot Junk Removal Las Vegas