Documentation¶
There are other python wrappers for the alpha vantage API, such as
alphavantage,
alpha-vantage-downloader,
alpha_vantage and
alphavantage-wrapper. They
all have in common that they have different functions for each of the data
types that Alpha Vantage offers. This may be less practical when downloading
multiple data types at multiple resolutions in one session. Avapi has a single
function that can download any data type from Alpha Vantage: avapi.get_data()
takes **kwargs
as input and outputs a dictionary, unless datatype="csv"
is
given, in which case a csv file is saved. If the data type is time series,
avapi.to_df()
converts it to a Pandas data frame. The intention is a simple and
flexible way to get data from Alpha Vantage into python.