Is it possible to create Google Drive Presentation via API? - google-drive-api

We are going to build some service using Google Apps Engine.
And I wonder if it's possible to create Presentation using API?

Yes. You just need to insert a file with the mimeType of application/vnd.google-apps.presentation. See here for other possible Google Docs file types.

Related

How to google gocs api to create google doc file and upload it to drive in .net web application?

I want to create a new google docs file from existing document and need to upload that file to google drive. How we can achieve this in .net web application using google docs api? Also want to display that newly created file in google docs?
Any help appreciate in advance.
Thank you.
#google-docs-api, #.net-web-application, #edit-google-docs-programmatically, #upload-google-docs-files-to-drive

Want to create google sheet,docs ,folder using apps script for my google sites

i want allow my users to create google drive docs,sheet,folders,files etc. from my google classic site itself.
i don't have any idea how to do this.Can we use google drive api?
if yes ,how to call drive api from apps script to create new google sheets,docs etc.
or
is there any other way to create it.
i want to use this in my google sites
Anybody have any idea please let me know
It should be rather simple. Because you are working within Google Apps Script, you do not need to use the Drive API at all. You simply have to use the services made available to you by Google. Just read their documentation, like here. Right at the top, the first method clearly states SpreadsheetApp.create(name) will create a spreadsheet. Same thing with DocumentApp.create(name), FormApp etc.

Is it possible to protect google spreadsheet data using the web api?

I would like to programmatically create google spreadsheets that have some columns marked as 'read-only'. Using the web browser client this is straight forward, but I have not found any documentation on how to do this via the API. Is it possible?
You won't be able to do this by relying on the Drive API exclusively. The good thing is, there is a Google Sheets API. This will allow you to access your Sheet file and edit its content. More information can be found on this resource: https://developers.google.com/google-apps/spreadsheets/.

Read google spreadsheet using drive sdk

Using the new Drive SDK, I would like to read and update rows/columns in a native google spreadsheet stored on my google drive, and display them on my web page. I m using Java and App Engine. I found the documentation and DrEdit example confusing, they don't exactly explain how to read/update native google docs. Can someone please explain to me what I need to do step by step, with code examples if possible? Thank you.
The Google Spreadsheets API would be the better choice for interacting directly with row and column data.

Is there a way to use the "Document Services" from Java?

When using Google Apps Script, I can take advantage of the Document Service to create Google Docs programmatically.
Is this service available as Google API so that I can use it on GAE/Java?
No.
The closest you can get right now is to construct your document in HTML, and then upload it with convert=true to create a native Google Doc