cdanielm58 / google-api-dotnet-client

Automatically exported from code.google.com/p/google-api-dotnet-client
Apache License 2.0
0 stars 0 forks source link

Get the Files list of Google Drive #355

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which Google API and version (e.g. Google Tasks API version 1)?Google Drive API 
Latest Version

What should the sample demonstrate (e.g. using OAuth2, using a specific
feature of that API)? OAth2

Platform (e.g. Windows, Mono, Silverlight, WP7)? Web App/ Windows

External references, such as API reference 
guide?https://developers.google.com/drive/v2/reference/files/list

Please provide any additional information below.
https://developers.google.com/drive/v2/reference/files/list and 
http://jsfiddle.net/Rbg44/40/ are giving the response from Google drive files 
list, but I need the same with .net app.
If it is not free then please give the costing details.

Original issue reported on code.google.com by vishnusa...@gmail.com on 12 Jul 2013 at 9:14

GoogleCodeExporter commented 9 years ago
You can use the Drive sample 
(https://code.google.com/p/google-api-dotnet-client/source/browse/?repo=samples#
hg%2FDrive.Sample), and add the following code:

service.Files.List().Execute().Items

it will return a collection of all files in your drive.

Original comment by pele...@google.com on 14 Jul 2013 at 1:55

GoogleCodeExporter commented 9 years ago
I'm closing this issue, feel free to reopen it, if the answer wasn't good 
enough.
Good luck!

Original comment by pele...@google.com on 14 Jul 2013 at 1:56