Introduction
The Google Drive platform provides a list of APIs, along with client libraries, language-specific examples, and documentation for developers to integrate Drive functionalities with Web and Mobile applications. Core functionalities of Google Drive are to download and upload. However, the Drive also provides searching, sharing and collaboration, file listing, and exporting functions.
In this article, I will demonstrate to you, with an example of a C# console application, how to connect to your own personal Google Drive account and gather a list of file names and display in the console.
Prerequisites
To create and execute the sample console application that I will demonstrate, you’ll need:
- A Google account with Google Drive enabled
- Google Drive API Setup
- A few files added in Google Drive
- Visual Studio 2015 or later version
API Version Information
Following are the details of Google Drive API Version v3. Next, we will set up that API.
API | Drive API |
API Version | v3 |
API Rev | 133 |
API Docs | https://developers.google.com/drive/ |
Discovery Name | Drive |
Generated At | 2018-10-04 01:59:14 UTC |
C# Generator | google-apis-code-generator |
Generator Version | 1.5.1 / c#=1.10.0 |
Generator Build | 2018-05-04 17:28:03 UTC |
Set Up Drive API
Following are the setup steps developers need to complete before you can use the previously mentioned API.
Step 1
That’s all for today. Happy coding!