Download structured sheet export
structured_sheets.download(strstructured_sheet_id, StructuredSheetDownloadParams**kwargs) -> BinaryResponseContent
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
import os
from deeptable import DeepTable
client = DeepTable(
api_key=os.environ.get("DEEPTABLE_API_KEY"), # This is the default and can be omitted
)
response = client.structured_sheets.download(
structured_sheet_id="ss_01kfxgjd94fn9stqm42nejb627",
)
print(response)
content = response.read()
print(content)