Download structured sheet export
client.StructuredSheets.Download(ctx, structuredSheetID, query) (*Response, error)
GET/v1/structured-sheets/{structured_sheet_id}/download
Download the structured data in the specified format. Only available when conversion status is 'completed'.
Available formats:
sqlite: SQLite database containing all extracted tablescell_labels: CSV file with cell-level semantic labels
Download structured sheet export
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.StructuredSheets.Download(
context.TODO(),
"ss_01kfxgjd94fn9stqm42nejb627",
deeptable.StructuredSheetDownloadParams{
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response)
}