OneLogin client written in Go.
go get github.com/arkan/onelogin
First you need to register a new application to have clientID
and clientSecret
credentials.
c := onelogin.New(clientID, clientSecret, "us_or_eu", team)
users, err := c.User.GetUsers(context.Background())
See the documentation for all the available commands.