Python
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.transform_json_to_html()
print(response.html){
"html": "<string>"
}Document
Transform JSON to HTML
Transforms a Sample JSON document to HTML
POST
/
api
/
v2
/
documents
/
json-to-html
Python
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.transform_json_to_html()
print(response.html){
"html": "<string>"
}