Skip to content

Go module and CLI tool to interact with the comdirect REST API

License

Notifications You must be signed in to change notification settings

christianix/go-comdirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comdirect-golang

version Apache License v2 GitHub go.mod Go version of a Go module

comdirect-golang is a client library 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

Install

Use go get to install the latest version of this library:

$ go get -u github.com/jsattler/comdirect-golang

Quick Start

// 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)

Documentation

You can find detailed documentation

Roadmap / To-Do

  • Auth
    • P_TAN_PUSH
    • P_TAN_PHOTO (currently out of scope, since the package is not intended for use in front end apps)
    • P_TAN_APP (currently out of scope, since I have no chance to test this)
    • Refresh Token
    • Revoke Token
  • Account
    • All Balances
    • Balance by Account ID
    • Transactions
  • Depot
    • All Depots
    • Positions by Depot ID
    • Position by Depot ID and Position ID
    • Transactions by Depot ID
  • Instrument
    • Instrument by Instrument ID
  • Order
    • Dimensions
    • Orders by Depot ID
    • Order by Order ID
    • Order Pre-Validation
    • Order Validation
    • Generate Order Cost Indication Ex-Ante
  • Quote
    • Quote-Request Validation and TAN Challenge Request
    • Quote-Request Validation and TAN validation
    • Create Quote-Request Request
  • Documents
    • Documents (Postbox)
    • Document by ID
    • Pre-Document (currently out of scope, since I have no document to test this with)
  • Reports
    • Balances of all comdirect products

About

Go module and CLI tool to interact with the comdirect REST API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%