What is the best way to create an empty Google doc / spreadsheet? I am using the GData docs / spreadsheet api right now but I'd prefer to use the Drive API. Is there a mimetype that will create an empty Google Doc/Google Spreadsheet?
As Claudio mentioned in the comment, you can see the list of the supported MIME types in the other question. In practice, its very easy to create a blank doc. For example:
POST https://www.googleapis.com/drive/v2/files
{
'title' : 'My new document',
'mimeType':'application/vnd.google-apps.document'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With