@@ -8,65 +8,9 @@ the [comdirect REST API](https://www.comdirect.de/cms/kontakt-zugaenge-api.html)
88> * Please read the comdirect API documentation prior to using this software
99> * Use of this software is at your own risk
1010
11- Install
11+ Documentation
1212---
13- Use ` go get ` to install the latest version of this library:
1413
15- ``` bash
16- $ go get -u github.com/jsattler/comdirect-golang
17- ```
18-
19- Examples
20- ---
21- In the following examples we are reading the comdirect credentials from predefined environment variables.
22-
23- ### Authentication
24-
25- ** Creating a new Authenticator from AuthOptions** :
26-
27- ``` go
28- // omitting error validation, imports and packages
29-
30- options := &comdirect.AuthOptions {
31- Username : os.Getenv (" COMDIRECT_USERNAME" ),
32- Password : os.Getenv (" COMDIRECT_PASSWORD" ),
33- ClientId : os.Getenv (" COMDIRECT_CLIENT_ID" ),
34- ClientSecret : os.Getenv (" COMDIRECT_CLIENT_SECRET" ),
35- }
36- authenticator := options.NewAuthenticator ()
37- ```
38-
39- ** Creating a new Authenticator with AuthOptions** :
40-
41- ``` go
42- // omitting error validation, imports and packages
43-
44- options := &comdirect.AuthOptions {
45- Username : os.Getenv (" COMDIRECT_USERNAME" ),
46- Password : os.Getenv (" COMDIRECT_PASSWORD" ),
47- ClientId : os.Getenv (" COMDIRECT_CLIENT_ID" ),
48- ClientSecret : os.Getenv (" COMDIRECT_CLIENT_SECRET" ),
49- }
50-
51- authenticator := comdirect.NewAuthenticator (options)
52- ```
53-
54- ### Client Creation
55-
56- ** Create a new Client from AuthOptions**
57-
58- ``` go
59- // omitting error validation, imports and packages
60-
61- options := &comdirect.AuthOptions {
62- Username : os.Getenv (" COMDIRECT_USERNAME" ),
63- Password : os.Getenv (" COMDIRECT_PASSWORD" ),
64- ClientId : os.Getenv (" COMDIRECT_CLIENT_ID" ),
65- ClientSecret : os.Getenv (" COMDIRECT_CLIENT_SECRET" ),
66- }
67-
68- client := comdirect.NewWithAuthOptions (options)
69- ```
7014
7115Roadmap / To-Do
7216---
@@ -84,6 +28,10 @@ Roadmap / To-Do
8428 * [x] Balance by Account ID
8529 * [x] Transactions
8630* [ ] ** Depot**
31+ * [ ] All Depots
32+ * [ ] Positions by Depot ID
33+ * [ ] Position by Depot ID and Position ID
34+ * [ ] Transactions by Depot ID
8735* [ ] ** Instrument**
8836* [ ] ** Order**
8937* [ ] Quote
0 commit comments