Download file
client.Files.Download(ctx, fileID) (*Response, error)
GET/v1/files/{file_id}/content
Download the original uploaded file content.
Download file
package main
import (
"context"
"fmt"
"github.com/deeptable-com/deeptable-go"
"github.com/deeptable-com/deeptable-go/option"
)
func main() {
client := deeptable.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Files.Download(context.TODO(), "file_01kfxgjd94fn9stqm414vjb0s8")
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response)
}