Reputation: 2071
I'm wondering is it possible to get list of SpreadSheets from Google Docs in Java?
URL SPREADSHEET_FEED_URL = new URL("https://spreadsheets.google.com/feeds/spreadsheets/private/full");
SpreadsheetFeed feed = service.getFeed(SPREADSHEET_FEED_URL, SpreadsheetFeed.class);
List<SpreadsheetEntry> spreadsheetEntries = feed.getEntries();
The above code gets list of all spreadsheets on an account, but I need files from specific location (collection created in Google docs)
Thanks for your help.
Upvotes: 1
Views: 1504
Reputation: 8660
Yes, it is possible. For this purpose is necessary to use the Google Documents List API. I implemented a similar task by dong the following
May be it is not efficient way, but it works. Here is a question which I asked and is linked with this task. The code is in C# but the logic is clear.
Upvotes: 1