sbanken-go
A Go client for the Sbanken API
Exernal information:
Get access to the API
See this page on how to get access to Sbankens API.
Quick example
ctx := context.Background()
cfg := sbanken.Config{
ClientID: os.Getenv("CLIENT_ID"),
ClientSecret: os.Getenv("CLIENT_SECRET"),
}
c, err := sbanken.NewClient(ctx, &cfg, nil)
if err != nil {
log.Fatal(err)
}
accounts, err := c.ListAccounts(ctx)
if err != nil {
log.Fatal(err)
}
log.Println(accounts)
Documentation
See pkg.go.dev.