Questions tagged [google-docs-api]

The Google Docs API lets you create and modify documents. Use for questions regarding programmatic manipulation of Google documents through the REST-API. Do NOT use for direct manipulation through Google Apps Script or for access through Google Drive API.

This tag was previously used for the Google Documents List API, which was sunset in 2015. It has been replaced by the Google Drive API, which uses the tag .

1550 questions
10
votes
1 answer

Trigger webhook when Google Sheet edited

I made a google sheet for sharing todo list with co-workers. My hope is when that sheet is modified, send message to slack channel. Even if tried to find api related with this, I failed to suitable one. Is there a appropriate API or webhook?
sungyong
  • 2,267
  • 8
  • 38
  • 66
10
votes
4 answers

Remove sign in button in google docs webview in android

I am showing PDF files by using google docs in WebView in android. How to remove or hide "Sign In" button? I have attached screenshot below. Thanks in advance. webview = (WebView)…
selva_pollachi
  • 4,147
  • 4
  • 29
  • 42
10
votes
1 answer

open google doc by id

What I am trying to do is make a copy of a template doc, the append sheet data to the new file. I am using the doc URL as the id. However, when I try to access the file I am getting this error "Document is missing (perhaps it was deleted?) (line…
user1070396
  • 141
  • 2
  • 3
  • 7
10
votes
3 answers

Google Drive and Docs API

I am curious to know with the release of Google Drive, will Docs API be obsolete? My understanding is the only way to see your documents is by using Docs API, as Drive API only gives access to the files created by a Google Drive app (and only viewed…
9
votes
1 answer

Any way to get JSON data of a Google Doc SpreadSheet using jquery without make the doc public?

I am trying to get data from a Google Doc Spreadsheet, using javascript and jQuery, in order to do some math with the numbers. With the next code I got it, for public spreadsheets: function getdata( key, wid, f ) { return $.getJSON( …
robermorales
  • 3,293
  • 2
  • 27
  • 36
9
votes
3 answers

Google Docs iFrame: How to customize the css of an embedded Google Docs iFrame

I have this code of an iframe displaying a google docs document:
Fadi Obaji
  • 1,454
  • 4
  • 27
  • 57
9
votes
1 answer

How do I backup to google drive using duplicity?

I have been trying to get duplicity to backup to google drive. But it looks like it is still using the old client API. I found some thread saying that the new API should be supported but not much details on how to get it to work. I got as far as…
AxelOmega
  • 974
  • 10
  • 18
9
votes
4 answers

How can I get the number of rows in a Google Spreadsheet using api?

Is it possible to fetch the number of filled rows without fetching the whole spreadsheet, or find the first empty row number? I am using the python api wrapper if it matters.
canerbalci
  • 1,239
  • 1
  • 12
  • 16
9
votes
1 answer

How to programmatically create and manage Google Forms via Google Document List API

We have a very specific need. We want to create a generic (Java based) registration system for Event organizers. So every Event organizer can define a custom form on our application, and then we collect the data from users for that particular event.…
sachinaero
  • 205
  • 1
  • 3
  • 7
9
votes
0 answers

Sending file attachments along with Google Docs form submission, having them emailed?

I'm building a form using GDocs, and then taking the form out into my web page so I can directly edit the form (so I do have complete control over the form code). Right now I'm able to submit the results send to Google Docs, and then have the…
David K
  • 138
  • 1
  • 1
  • 6
9
votes
2 answers

Using Python, how can I read plain text from a Google Doc?

I am attempting to read the raw text/content of a Google Doc (just a plain document, not a spreadsheet or presentation) from within a Python script, but so far have had little success. Here's what I've tried: import gdata.docs.service client =…
user2046358
  • 93
  • 1
  • 1
  • 3
8
votes
1 answer

How to append table after specific text in google docs using google apps script?

I want to append table to google doc after specific text. Here is my attempt. var body = somedoc.getBody(); var range = body.findText("#PLACEHOLDER#"); body.appendTable(data); Here data is some multidimensional array. This works fine.…
Maths89
  • 476
  • 3
  • 15
8
votes
3 answers

How to programmatically create a Google Docs spreadsheet WITH CONTENT?

I have found multiple StackOverflow questions dealing with how to create or edit Google Doc spreadsheets using the Google Spreadsheets API, or older API's. However, this Spreadsheets API seems to be part of the "gdata" library, which to my…
7
votes
2 answers

Asynchronous versions of Google APIs?

Is there any way to queue up document list API requests and handle them asynchronously (similar to the google app engine async urlfetch requests)? I could conceivably copy/rewrite a lot of the client request modification logic in DocsClient around a…
technomage
  • 9,861
  • 2
  • 26
  • 40
7
votes
3 answers

How to integrate a Google Docs document in Liferay?

Is there any way that we can integrate Google Docs in Liferay? I found some other 3rd party APIs, like Zoho, but I would like to use Google Docs instead.
Scorpion
  • 6,831
  • 16
  • 75
  • 123