Skip to content

IzziCooki/AlphaVAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AlphaVAPI

Python wrapper for Alpha Vantage API

How to run

Step 1

Download zip and extract working directory 

Step 2

Get API Key from https://www.alphavantage.co/ and set in .env

./.env

APIKEY=MYAPIKEY

Step 3

Import the package

from AlphaVAPI.main import SetStock

Step 4

Set the stock you want the price of (VMWare is the example in this case)

from AlphaVAPI.main import SetStock
stock = SetStock("VMW")

Step 5

You can now use this object to either get the stock price or the raw stock price data

from AlphaVAPI.main import SetStock
stock = SetStock("VMW")
print(stock.price())
print(stock.raw_data())

About

Python wrapper for Alpha Vantage API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages