Get Result Region
client.Sheets.GetResultTable(ctx, regionType, params) (*PresignedURL, error)
GET/api/v1/sheets/jobs/{spreadsheet_job_id}/regions/{region_id}/result/{region_type}
Get Result Region
package main
import (
"context"
"fmt"
"github.com/run-llama/llama-parse-go"
"github.com/run-llama/llama-parse-go/option"
)
func main() {
client := llamacloud.NewClient(
option.WithAPIKey("My API Key"),
)
presignedURL, err := client.Sheets.GetResultTable(
context.TODO(),
llamacloud.SheetGetResultTableParamsRegionTypeCellMetadata,
llamacloud.SheetGetResultTableParams{
SpreadsheetJobID: "spreadsheet_job_id",
RegionID: "region_id",
},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", presignedURL.ExpiresAt)
}
{
"expires_at": "2019-12-27T18:11:19.117Z",
"url": "https://example.com",
"form_fields": {
"foo": "string"
}
}Returns Examples
{
"expires_at": "2019-12-27T18:11:19.117Z",
"url": "https://example.com",
"form_fields": {
"foo": "string"
}
}