# Packages
No description provided by the author
# README
github.com/codatio/client-sdk-go/common
SDK Installation
go get github.com/codatio/client-sdk-go/common
SDK Example Usage
package main
import(
"context"
"log"
"github.com/codatio/client-sdk-go/common"
"github.com/codatio/client-sdk-go/common/pkg/models/shared"
)
func main() {
s := codatcommon.New(
codatcommon.WithSecurity(shared.Security{
AuthHeader: "",
}),
)
ctx := context.Background()
res, err := s.Companies.Create(ctx, shared.CompanyRequestBody{
Description: codatcommon.String("Requested early access to the new financing scheme."),
Name: "Bank of Dave",
})
if err != nil {
log.Fatal(err)
}
if res.Company != nil {
// handle response
}
}
Available Resources and Operations
Companies
- Create - Create company
- Delete - Delete a company
- Get - Get company
- List - List companies
- Update - Update company
Connections
- Create - Create connection
- Delete - Delete connection
- Get - Get connection
- List - List connections
- UnlinkConnection - Unlink connection
- UpdateAuthorization - Update authorization
Integrations
- Get - Get integration
- GetBranding - Get branding
- List - List integrations
PushData
- GetModelOptions - Get push options
- GetOperation - Get push operation
- ListOperations - List push operations
RefreshData
- All - Refresh all data
- ByDataType - Refresh data type
- Get - Get data status
- GetPullOperation - Get pull operation
- ListPullOperations - List pull operations
Settings
GetProfile- Get profile :warning: Deprecated- GetSyncSettings - Get sync settings
- UpdateProfile - Update profile
- UpdateSyncSettings - Update all sync settings
SupplementalData
- Configure - Configure
- GetConfiguration - Get configuration