cidirectinvesting-go
This is a Go SDK for the CI Direct Investing application. It's a tiny wrapper around the rest API exposed by CI Direct Investing. I couldn't find an official SDK, so here's just what I need to integrate it into my home system.
Prerequisites
Hopefully you use MFA with your CI Direct Investing account. The only way to use this SDK is by creating a Third Party Access key.
You can do this in the security settings of your profile. I'm referring to the key as
and the secret as
.
Running all tests locally
CDI_KEY_ID=<access key> CDI_SECRET_KEY=<secret key> go test ./... -v