Categorygithub.com/codatio/client-sdk-go/files
package
0.22.0
Repository: https://github.com/codatio/client-sdk-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

github.com/codatio/client-sdk-go/files

SDK Installation

go get github.com/codatio/client-sdk-go/files

SDK Example Usage

package main

import(
	"context"
	"log"
	"github.com/codatio/client-sdk-go/files"
	"github.com/codatio/client-sdk-go/files/pkg/models/operations"
)

func main() {
    s := codatfiles.New(
        codatfiles.WithSecurity(shared.Security{
            AuthHeader: "Basic BASE_64_ENCODED(API_KEY)",
        }),
    )

    ctx := context.Background()
    res, err := s.Files.DownloadFiles(ctx, operations.DownloadFilesRequest{
        CompanyID: "8a210b68-6988-11ed-a1eb-0242ac120002",
        Date: codatfiles.String("2022-10-23T00:00:00.000Z"),
    })
    if err != nil {
        log.Fatal(err)
    }

    if res.Data != nil {
        // handle response
    }
}

Available Resources and Operations

Files

SDK Generated by Speakeasy