I'm trying to simulate clicking "publish to web" -> "start publishing now" in Google docs using the Python version of the Google Drive API. 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 appears to have no effect on my document.
I'd like to be able to programmatically create a Google spreadsheet that is immediately world-accessible.