Skip to content
Get started

Download document file content

documents.download(strid) -> BinaryResponseContent
get/documents/{id}/download

Download the binary content of the document file

ParametersExpand Collapse
id: str
ReturnsExpand Collapse
BinaryResponseContent
Download document file content
from withluminary import Luminary

client = Luminary()
response = client.documents.download(
    "id",
)
print(response)
content = response.read()
print(content)
Returns Examples