lastpass-go alternatives and similar packages
Based on the "Third-party APIs" category.
Alternatively, view lastpass-go alternatives based on common mentions on social networks and blogs.
-
goamz
Popular fork of goamz which adds some missing API calls to certain packages. -
webhooks
:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs -
githubql
Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql). -
geo-golang
Go library to access geocoding and reverse geocoding APIs -
twitter-scraper
Scrape the Twitter Frontend API without authentication with Golang. -
lark
Feishu(飞书)/Lark Open API Go SDK, Support ALL Open API and Event Callback. -
gostorm
GoStorm is a Go library that implements the communications protocol required to write Storm spouts and Bolts in Go that communicate with the Storm shells. -
hipchat (xmpp)
A golang package to communicate with HipChat over XMPP -
clarifai
DEPRECATED: please use https://github.com/Clarifai/clarifai-go-grpc -
hipchat
This project implements a Go client library for the Hipchat API. -
go-trending
Go library for accessing trending repositories and developers at Github. -
go-lark
An easy-to-use SDK for Feishu and Lark Open Platform (Messaging API only) -
go-tgbot
Golang telegram bot API wrapper, session-based router and middleware -
cachet
Go(lang) client library for Cachet (open source status page system). -
simples3
Simple no frills AWS S3 Golang Library using REST with V4 Signing (without AWS Go SDK) -
go-postman-collection
Go module to work with Postman Collections -
ynab
Go client for the YNAB API. Unofficial. It covers 100% of the resources made available by the YNAB API.
Build time-series-based applications quickly and at scale.
Do you think we are missing an alternative of lastpass-go or a related project?
README
Go client for LastPass
Features
- login via
- user name and master password
- two-factor authentication with out-of-band mechanism such as push notification to LastPass Authenticator or Duo Security
- two-factor authentication with one-time password from LastPass Authenticator, Google Authenticator, Microsoft Authenticator, YubiKey, Duo Security, Sesame, etc.
- create account
- read accounts (including accounts from shared folders)
- update account
- delete account
- logout
Documentation
Installation
Install:
$ go get github.com/ansd/lastpass-go
Import:
import "github.com/ansd/lastpass-go"
Usage
Below, error handling is excluded for brevity. See examples directory for more examples.
// authenticate with LastPass servers
client, _ := lastpass.NewClient(context.Background(), "user name", "master password")
// two-factor authentication with one-time password as second factor:
// client, _ := lastpass.NewClient(context.Background(), "user name", "master password", lastpass.WithOneTimePassword("123456"))
account := &lastpass.Account{
Name: "my site",
Username: "my user",
Password: "my pwd",
URL: "https://myURL",
Group: "my group",
Notes: "my notes",
}
// Add() account
client.Add(context.Background(), account)
// read all Accounts()
accounts, _ := client.Accounts(context.Background())
// Update() account
account.Password = "updated password"
client.Update(context.Background(), account)
// Delete() account
client.Delete(context.Background(), account.ID)
// Logout()
client.Logout(context.Background())
Notes
This repository is a port of detunized/lastpass-ruby and a clone of mattn/lastpass-go.
This project is licensed under the MIT License - see the LICENSE file for details.
This repository's ecb
(Electronic Codebook) package contains code which is "Copyright 2013 The Go Authors. All rights reserved."
*Note that all licence references and agreements mentioned in the lastpass-go README section above
are relevant to that project's source code only.