allyinvest/main.go

12 lines
198 B
Go
Raw Normal View History

2019-11-08 04:30:22 +00:00
package main
import "fmt"
2019-11-08 04:30:22 +00:00
func main() {
// Load our environment variables
var api AllyApi
api.Initialize()
2019-11-08 04:30:22 +00:00
fmt.Printf("%s\n", api.Accounts()[0].Accountholdings.Displaydata.Totalsecurities)
2019-11-08 04:30:22 +00:00
}