Tagged Questions
5
votes
2answers
1k views
How can I access public spreadsheets with the Google Docs C# API?
I've written a C# program using the Google Docs .NET API to read a Google worksheet into a DataTable given a user name, password, spreadsheet name, and worksheet name. This all works fine, but the ...
3
votes
3answers
434 views
Can't upload to a specific folder getting 503 error
I am trying to upload a simple text file to a specific folder in google documents but with no luck.
FileStream fileStream = new FileStream(@"c:\test.txt", System.IO.FileMode.Open);
DocumentEntry ...
3
votes
2answers
786 views
How to get long-lived access token Google API
In the Google documentation it says
// Once the user authorizes with Google, the request token can be exchanged
// for a long-lived access token. If you are building a browser-based
// application, ...
3
votes
1answer
813 views
Where do I find the latest Google Docs API with the source code of the samples?
I've been trying to use Google Spreadsheet API in C# by following these instructions.
I downloaded the API from the official Downloads page. However, there are two things wrong with it:
The API ...
2
votes
3answers
273 views
Parse xml using c#
I have an xml like
<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' ...
2
votes
3answers
441 views
exception during adding a row to google spreadsheet
I have followed the entire API for document list (for creating spreadhseet) and spreadsheet (for creating worksheet and adding rows).
However, I am able to add a worksheet to a spreadhseet after its ...
2
votes
1answer
676 views
Windows Metro Style app occur error with Google Data API Library
OS: Windows 8 Consumer Preview
IDE: Visual Studio 11 Beta
I create a Blank Application(Windows Metro style).
And add Google Doc API sample code. (It is below)
It occur compile Error.(Cannot find type ...
2
votes
2answers
1k views
How to get all the documents in a folder in Google Docs
I can get all the documents in Google Docs using
public DocumentsFeed GetDocs()
{
DocumentsListQuery query = new DocumentsListQuery();
DocumentsFeed feed = ...
2
votes
1answer
571 views
how to insert a row in the middle of a google spreadsheet
I am trying to insert a row into the middle of a google worksheet, however cannot find a way in the api documentation,
I cannot add a new row to the bottom as the program that consumes the ...
2
votes
1answer
687 views
Updating a document in Google Docs using the API?
I want to update the contents of the already uploaded Google Doc file.
I'm using the below code:
DocumentsService service = new DocumentsService("app-v1");
string auth = gLogin2();
...
2
votes
1answer
829 views
Using the Google Docs API
I want to know how to upload a remote document to Google Docs, and to be able to view that document using Google Docs by using the Google Docs API.
When I upload a file, does is respond with a docid? ...
1
vote
1answer
479 views
OAuth2Parameters could not be found
I'm trying to use OAuth 2.0 for authorizing google docs api,
According to the example given by google at https://developers.google.com/google-apps/documents-list/#authorizing_requests_with_oauth_20
...
1
vote
1answer
249 views
Upload string contents into google doc
I wanna know if I can create a doc on google docs without uploading document..
I just want to pass the value of a textbox from my c# windows application and store it onto the google docs server..
I ...
1
vote
1answer
617 views
C# Google Api Upload Stream
I have read a few questions around and i tried those examples and they worked for me, here are links:
- Link 1
- Link 2
- Link 3
However,
What i'm tryin to accomplish its a little bit different, im ...
1
vote
1answer
60 views
Is there any way to initialise a Document object with a resourceID
I am wondering if there is a any way to Initialize a document object with a resource ID so that I can pass that document object in the various functions that i've made for manipulating the document.
...