I wanted to programmatically create a new Quip spreadsheet with headers and content pulled from another database
new_ss = client.new_document(title="New
Spreadsheet",member_ids=[user["private_folder_id"]])
But this only creates a new doc not a spreadsheet. I tried to follow this Create Quip Spreadsheet but "type" is an unknown keyword. How can I do that?
jso = client.new_document("", title="My Spreadsheet", type="spreadsheet")
To use quip client, we copy the quip.py file from https://github.com/quip/quip-api/blob/master/python/quip.py to our project.
Since
new_document
didn't have the advertisedtype
argument, I ended up editing the copy of quip.py to include the additional argument. Here is the diff