Hi Vic,
I am not able to find property DocumentId in entry object.
I wrote following lines of code.
RequestSettings settings = new RequestSettings("Downloader",
service.Credentials);
settings.AutoPaging = true;
settings.PageSize = 100;
DocumentsRequest request = new DocumentsRequest(settings);
Console.WriteLine("Successfully logged in");
Feed<Document> feed = request.GetEverything();
Document d = new Document();
foreach (Document entry in feed.Entries)
{
if (entry.XXXX ==
"0Avfcx-NY7yq_dDZ0R1BQcm5PRlg1czVWNzlmRnlVVWc")
{
d = entry;
continue;
}
}
Document.DownloadType type = Document.DownloadType.xls;
Stream stream = request.Download(d, type);
Here entry.XXXX is the problem. there is no DocumentId entry in entry
object. Even if i try to use resource id of my spreadsheet, it doesn't work.
Please help.
Amit