Google Sheets API with Python requests library (OAuth 2.0)

preview_player
Показать описание
This video details how to access/connect a Google service such as Google Sheets to your Python script. Specifically it deals with updating a group of cells in Google Sheets. The code itself can be accessed below and hopefully it is detailed enough to be read on your own. If it isn't let me know!

Link to script:

Timestamps:
0:00 Intro
0:31 Demonstrating Google Sheets update from Python script
2:00 How to connect Google Sheets API
2:15 Step 1: Go to Google Cloud Platform (GCP)
3:31 Step 2: Configure consent screen
4:39 Step 3: Create credentials
5:11 Step 4: Copy client ID and secret to the Python script
5:50 Step 5: Open the link
6:52 Step 6: Add access code to script
7:09 Step 7: Add refresh token to other script
7:25 Step 8: Create the Google Sheet and add the spreadsheet ID
7:52 Step 9: Enable Google Sheets API in GCP
Рекомендации по теме
Комментарии
Автор

this is the one of the best video ever, no one in the youtube who explain each and every thing in detail, I facing this error 15-16 day thank you bro

bloggingplaza
Автор

Thank you for making this video! Simple and easy to follow!

fromtaiwan
Автор

I do not get a refresh token in the terminal's result. I get an access token but no refreshtoken.

OlanrewajuSanni-fm