Google Drive: Difference between revisions
From charlesreid1
(Created page with "=Overview= On this page we attempt to cover the basics of using the Google Drive API.") |
|||
| Line 2: | Line 2: | ||
On this page we attempt to cover the basics of using the Google Drive API. | On this page we attempt to cover the basics of using the Google Drive API. | ||
Steps: | |||
* Enable Google Drive API in Google Cloud Console | |||
* Download <code>client_secrets.json</code> which contains credentials to make requests as your application | |||
* Run your application and present the user with a unique login link | |||
* They log in, you end up with <code>credentials.json</code> which contain credentials to do things on behalf of that user | |||
* Use <code>credentials.json</code> when making API calls | |||
==Enable Google Drive API in Google Cloud Console== | |||
Revision as of 00:22, 19 August 2018
Overview
On this page we attempt to cover the basics of using the Google Drive API.
Steps:
- Enable Google Drive API in Google Cloud Console
- Download
client_secrets.jsonwhich contains credentials to make requests as your application - Run your application and present the user with a unique login link
- They log in, you end up with
credentials.jsonwhich contain credentials to do things on behalf of that user - Use
credentials.jsonwhen making API calls