main.py
import stockdownloader #Define the stocks that should be downloaded stocks = { "MMM" :"3M", "AXP" :"AmericanExpress" } #Pass the stocklist to the downloader results = stockdownloader.downloadFromDict(stocks,apikey="key",startdate="2019-08-08",enddate="2021-08-08") #Save the results to a csv file results.to_csv("output.csv", index = False)