Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
  • Overview
  • Transcript

1.2 How to Use the Google Drive API

In this lesson, we'll start by authorizing the API for use in your app. After that, we'll take a look at the Google Drive API starter code to build a couple simple apps using the Google Drive API and the Picker API.

Code Snippet:

Here is an example of how we authorize the API when we start our app.

function checkAuth() {
    gapi.auth.authorize(
      {
        'client_id': CLIENT_ID,
        'scope': SCOPES.join(' '),
        'immediate': true
      }, handleAuthResult);
  }

1.How to Use the Google Drive API
2 lessons, 11:01

Free Lesson
1.1
Introduction
00:59

1.2
How to Use the Google Drive API
10:02