Getting started with google-drive-sdk – Installation or Setup

In order to access the Google drive API or Google drive SDK you must first register your application on Google Developer console and enable the google drive API.

After that its a good idea to use one of the official google client libraries to access the API.

Documentation Samples
Google API Client Library for Java Java samples
Google API Client Library for JavaScript (beta) JavaScript samples
Google API Client Library for .NET .NET samples
Google API Client Library for Objective-C Objective-C samples
Google API Client Library for PHP (beta) PHP samples
Google API Client Library for Python Python samples

There are a number of other client libraries in early-stage of development a full list can be found at Google APIs Client libraries

if you want to reproduce, please indicate the source:
Getting started with google-drive-sdk – Installation or Setup - CodeDay