Experimenting with the Alpha Vantage API by creating a CLI in Go.
- Clone this repository
- Run
go install
in the clone
Set ALPHAVANTAGE_API_KEY
before you execute the binary or pass the API key as a flag with -k API_KEY
.
fx get exchange rates
price, p get share price
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help (default: false)
USAGE:
go-alphavantage fx [command options] [FROM SYMBOL] [TO SYMBOL]
USAGE:
go-alphavantage price [command options] [TICKER]