go-comdirect
is both a client library and CLI tool to interact with
the comdirect REST API.
Additional Notes
- The library is currently unstable and will change frequently until version 1.0.0 is released
- Please read the comdirect API documentation prior to using this software
- Use of this software is at your own risk
- 10 requests per second are allowed by comdirect
- 3 invalid TAN validation attempts will cancel the online access
Use go get
to install the latest version of this library:
$ go get -u github.com/jsattler/go-comdirect
Use go install
to install the comdirect
CLI tool:
go install github.com/jsattler/go-comdirect/comdirect@main
// omitting error validation, imports and packages
options := &comdirect.AuthOptions{
Username: os.Getenv("COMDIRECT_USERNAME"),
Password: os.Getenv("COMDIRECT_PASSWORD"),
ClientId: os.Getenv("COMDIRECT_CLIENT_ID"),
ClientSecret: os.Getenv("COMDIRECT_CLIENT_SECRET"),
}
client := comdirect.NewWithAuthOptions(options)
You can find detailed documentation
docs/
folderpkg/comdirect
Your contributions are appreciated! Please refer to CONTRIBUTING.md for further information.
Please refer to LICENSE for further information.