import os
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
)
response = client.v2.documents.retrieve_csv_content(
"documentId",
)
print(response.data){
"data": [
{}
]
}Retrieves the content of a CSV document as a structured JSON array.
import os
from samplehc import SampleHealthcare
client = SampleHealthcare(
api_key=os.environ.get("SAMPLEHC_API_KEY"), # This is the default and can be omitted
)
response = client.v2.documents.retrieve_csv_content(
"documentId",
)
print(response.data){
"data": [
{}
]
}