This is unofficial LastPass API.
This is a port of Ruby API.
vault, _ := lastpass.CreateVault(username, password)
for _, account := range vault.Accounts {
fmt.Println(account.Username, account.Password)
}
golang
$ go get github.com/mattn/lastpass-go
MIT
Note that this repository include code of ecb
(Electronic Code Block) provided by Go Authors.
Yasuhiro Matsumoto (a.k.a mattn)