calls api to retrieve stock tickers

PHOTO EMBED

Wed Mar 10 2021 01:11:39 GMT+0000 (Coordinated Universal Time)

Saved by @globalwarme #python

#url to retrieve company tickers

url = (f'https://financialmodelingprep.com/api/v3/stock-screener?marketCapMoreThan=10000000000&volumeMoreThan=10000&apikey={api}')

#call api and convert to json
screener = requests.get(url).json()
content_copyCOPY