from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.combine(
combined_file_name="combinedFileName",
documents=[{
"id": "id",
"file_name": "fileName",
}],
)
print(response.document)
{
"document": {
"id": "<string>",
"fileName": "<string>"
}
}
Combines multiple PDF documents into a single PDF and returns the combined document’s metadata.
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key="My API Key",
)
response = client.v2.documents.combine(
combined_file_name="combinedFileName",
documents=[{
"id": "id",
"file_name": "fileName",
}],
)
print(response.document)
{
"document": {
"id": "<string>",
"fileName": "<string>"
}
}
Successfully combined documents into a single PDF.