Showing posts with label OAuth2. Show all posts
Showing posts with label OAuth2. Show all posts

2016/10/24

Notes on the common code section for accessing Google APIs using Python

This post contains my notes after watching the 2 videos below.

Google Drive API: Uploading & Downloading Files
https://youtu.be/-7YH6rdR-tk

Accessing Google APIs: Common code walkthrough
https://youtu.be/h-gBeC9Y9cE?list=PLOU2XLYxmsILOIxBRPPhgYbuSslr50KVq

The Common Code Section

Below are the first 21 lines of code for uploading and downloading files using Google Drive API. They are the common code (with minor changes to the parameters in Line 14 - SCOPE and Line 21 - DRIVE) needed for accessing Google APIs.