We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a14b7e7 commit f53b3cbCopy full SHA for f53b3cb
helpers.py
@@ -41,7 +41,7 @@ def lookup(symbol):
41
# Contact API
42
try:
43
api_key = os.environ.get("API_KEY")
44
- response = requests.get(f"https://cloud-sse.iexapis.com/stable/stock/{urllib.parse.quote_plus(symbol)}/quote?token={api_key}")
+ response = requests.get(f"https://cloud.iexapis.com/stable/stock/{urllib.parse.quote_plus(symbol)}/quote?token={api_key}")
45
response.raise_for_status()
46
except requests.RequestException:
47
return None
0 commit comments