Skip to content

it's pulling all the stats instead of just one #1

Open
@theashleyy

Description

@theashleyy

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions