# Packages
No description provided by the author
# README
New Relic Client
A custom package to aggregate newrelic API.
import "github.com/reyhanfahlevi/pkg/go/nrclient"
nr := nrclient.New(nrclient.Option{
NRLoginCookies: `login cookies`,
APIKey: "api key",
})
users, err := nr.FindUserAccount(context.Background(), "[email protected]")
if err != nil {
log.Error(err)
return
}
for _, u := range users {
log.Info(u.AccountID)
log.Info(u.AccountName)
log.Info(u.LastAccessTime)
}