Drchrono API provides sample code in python for uploading medical documents
here is the sample in python
import datetime, json, requests headers = {