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
0
votes
3 answers

Is there any quick and easy way to upload a Google Doc from SAP?

We're creating a custom table in SAP comprising all of the information we need and the customer needs the report from this table uploaded to Google Docs. We do not use Business By Design. Is there any other quick and easy way to upload our report?
0
votes
1 answer

DocumentList API and GAS. How to marry them?

How about using this API? developers.google.com/google-apps/documents-list It seems to be able to access the revision history feed. But the examples are in .NET. How do I apply/use this API in Google Apps Script? Anyone knows how and can shed…
sabansm
  • 115
  • 1
  • 4
  • 14
0
votes
1 answer

Bad Request when querying revisions

I'm trying to follow the instructions laid out in this post, but I'm not able to make it work. The constructor for the RevisionQuery takes in a string, but the entry.RevisionDocument is a Uri. I just used .ToString(), but now I'm getting an error -…
0
votes
3 answers

Google apps script count variables (merging)

I'm trying to count some variables whit google apps script in google spreadsheet. This isn't working how I wanted to be. The code is: for(var n in namen) { var naam = namen[n]; var nr = n; if(w == 1) { var nr = 3+n; }…
0
votes
1 answer

Can't find DocumentsListQuery.DocumentID or DocumentsListQuery.folderBaseUri

Every code sample out there that I've found to list folders uses DocumentsListQuery.DocumentID or DocumentsListQuery.folderBaseUri, neither of which I can access. Those members do not exist. Am I using a wrong version or anything? I'm using VS 2010.
RSinohara
  • 650
  • 1
  • 4
  • 25
0
votes
1 answer

Hide programmatically a spreadsheet

My question is fairly simple : is it possible to programmatically hide a worksheet in google docs ? I've searched in the google app script and the java api and I didn't found it...
Zelwina
  • 87
  • 1
  • 9
0
votes
1 answer

Google Drive Api not returning results by descending order of number of occurrences of word

I am using Google Documents List API for searching within documents. Searching on the google drive ui returns results with most number of occurences of words first. But with api it returns the results with last uploaded date first. This is the URL…
manu5987
  • 69
  • 1
  • 7
0
votes
1 answer

Download link (via API) to publicly accessible file on google docs returns 401

I've uploaded a (pgp) file via the documents API, and changed its visibility to public. However, I'm unable to download it publicly using the contents link for that file. Here are the relevant bits of the xml for the meta-data for the file…
kbs
  • 505
  • 5
  • 8
0
votes
2 answers

Documents List API client for C# timing out

I'm working on a simple wrapper for the google docs api in c#. The problem I'm running into is my tests are timing out. Sometimes. When I run all of my tests (only 12 of them) then it usually hangs up on the 8th one, which is testing the delete…
nick
  • 2,833
  • 3
  • 34
  • 61
0
votes
1 answer

Using Google Drive to manage large volume of documents

I have a CMS database (SQL Server) that stores around 2 million documents PDF, Word, Excel etc. averaging 2MB in size. I want to move these docs and upload them into Google Drive, get an Id back, and store this as a reference in SQL Server. Has…
dubs
  • 6,511
  • 4
  • 19
  • 35
0
votes
1 answer

Google Docs API fetch ACL with batch operation

I'm developing an iPhone app than uses the Google apps API. I'm fetching all the documents in Google Docs and want to fetch the ACL for each document. I can do this by calling: [service fetchFeedWithURL:entry.ACLFeedLink.URL…
Peter
  • 1,495
  • 1
  • 14
  • 21
0
votes
1 answer

Add a document to multiple folders (collections)

I can insert a Google Document in a folder/collection using the Java API. But I would like to have this document in multiple folders. The method public void addFolder(Person owner, java.lang.String folderName) is deprecated. In the javadoc it…
Jasper Duizendstra
  • 2,587
  • 1
  • 21
  • 32
0
votes
1 answer

Failed to upload a local image file onto google doc with format converted

For public link it works fine, but in my case I need upload a image file from local disk. I converted the image into base64 format, and write the html file into local disk as well, that html file can be opened in browser with image showing, but the…
user1335794
  • 1,082
  • 6
  • 12
0
votes
1 answer

Zend gdata Framework Google Docs - Outdated filetypes Need a fix

This framework is outdated and doesn't support all kind of files to upload, so i decided to fix the framework. In the class Zend_Gdata_Docs I did this by adding the entry JPG/JPEG/PPTX private static $SUPPORTED_FILETYPES = array( …
Jerome Ansia
  • 6,854
  • 11
  • 53
  • 99
0
votes
1 answer

Upload new revision file

Is possible upload an existing file and automatically create a new revisión instead of replace it?. Thanks.
1 2 3
99
100