allyinvest/main.go

12 lines
180 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("%f\n", api.Accounts()[0].Accountbalance.Money.Cash)
2019-11-08 04:30:22 +00:00
}