Download SQLite export
structured_sheets.exports.download_sqlite(strstructured_sheets_id) -> BinaryResponseContent
GET/v1/structured-sheets/{structured_sheets_id}/exports/sqlite
Download the structured data as a SQLite database file. Only available when conversion status is 'completed'.
Parameters
structured_sheets_id: str
The unique identifier of the structured sheets conversion.
Returns
BinaryResponseContent
Download SQLite 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.exports.download_sqlite(
"ss_01abc2def3ghjkmnpqrs4uvwxy",
)
print(response)
content = response.read()
print(content)