You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you make a small change to your URL it should work. Quotations are not required around marketcap and the 'C' in marketcap should not be capitalized.
I am trying to do the same thing just with getting market cap in there instead. I'm using the latest version of Python. So far I have:
resp = requests.get('https://cloud.iexapis.com/stable/stock/IBM/stats/"marketCap"?token=xxxxxx')
resp.raise_for_status()
print(resp.json())
It is printing all the data in stats for some reason and not just market cap. Would you know how to fix this? Thanks for the help!
The text was updated successfully, but these errors were encountered: