I am trying to simulate clicking "publish on the Internet" β "start publishing now" in Google docs using the Google Drive API version in Python. Based on my vague understanding of the documentation, I believe this should work:
service.revisions().update(fileId = newfile['id'], revisionId='head', body={'published':True, 'publishAuto': True})
However, this does not seem to affect my document.
I would like to be able to programmatically create a Google spreadsheet that is immediately available to the whole world.
python google-drive-sdk
David Eads
source share