from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.unzip(
"documentId",
)
print(response.documents)
{
"documents": [
{
"id": "<string>",
"fileName": "<string>"
}
]
}
Given a document ID representing a ZIP file, unzip it, traverse the directory structure and return all PDFs found as a list of documents
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.unzip(
"documentId",
)
print(response.documents)
{
"documents": [
{
"id": "<string>",
"fileName": "<string>"
}
]
}
The ID of the document to unzip. Must be a ZIP file.
Default Response
The response is of type object
.