Google Services API OAuth 2.0 Authentication with python ( 2021 ) | pydrive | #pyGuru

Google Services API OAuth 2.0 Authentication with python ( 2021 ) | pydrive | #pyGuru

pyGuru

2 года назад

26,300 Просмотров

In this tutorial we will be learning setting up a project on Google cloud platform to access the Google drive api. using this api we can download and upload files to google drive and automate the process of folder backup.

Here we will setup OAuth 2.0 authentication , then setup Google screen access, publish our app and then download the client_secrets.json

We will then authenticate our application with pydrive and then setup credentials using settings.yaml

We will also create a sample text file and upload it to google drive using python

source code : https://github.com/pyGuru123/Youtube/tree/main/Google%20Services%20with%20Python/Google%20OAuth%202.0

settings.yaml : https://github.com/pyGuru123/Youtube/blob/main/Google%20Services%20with%20Python/Google%20OAuth%202.0/settings.yaml

*****************************************

Github : https://github.com/pyGuru123
Insta : https://www.instagram.com/prajjwalpathak35
Get open source free projects here : https://t.me/pyGuruDiscussion

******************************************

#googleapi #googledrive #python #pydrive #googleOAuth2.0

how to create project on Google cloud platform
how to setup pydrive
pydrive authentication error
upload files to google drive
download files from google drive
how to use Google drive api
how to setup Google api services authentication
how to setup Google OAuth 2.0
pydrive OAuth2.0 setup
use python to access google drive
automatic files backup to google drive using python
how to use pydrive
pydrive.CreateFile
how to fix pydrive error
how to create text file with pydrive
how to use Google services api
take desktop backup with python
python and pydrive example
#pythonguru python guru

Тэги:

#python_tutorial #python_tutorial_for_beginners #python_programming
Ссылки и html тэги не поддерживаются


Комментарии:

shalini srivastava
shalini srivastava - 08.08.2023 13:52

Thank You so much, with the help of your video I have solved my client project problem

Ответить
Yash Vishwakarma
Yash Vishwakarma - 12.05.2023 11:12

finally started from scratch and code worked. now ill try to download the file using the same code

Ответить
Rohan Bavaskar
Rohan Bavaskar - 16.04.2023 22:20

Thankyou so much
After watching so many videos finally your helped.

Ответить
Pradeep Kumar
Pradeep Kumar - 11.04.2023 20:51

thanks bro

Ответить
Jay Kiran
Jay Kiran - 11.01.2023 11:54

After Authentication completed, Credentials file didn't generated in my local

Ответить
Anang Raj Singh Tomar
Anang Raj Singh Tomar - 07.01.2023 15:51

Nicely explained

Ответить
Adinan Brito
Adinan Brito - 04.01.2023 02:11

Thank you very much!!!

Ответить
juan diaz
juan diaz - 30.09.2022 19:02

WTF???? need subtitles bro please

Ответить
Kiprono, Elijah Koech
Kiprono, Elijah Koech - 04.08.2022 10:31

Thank you so much.

Ответить
Jesús Daniel Fuentes
Jesús Daniel Fuentes - 01.08.2022 02:03

Do you have a newer for the New Google Identity Services?

Ответить
RAJEEV KUMAR
RAJEEV KUMAR - 29.07.2022 12:10

how to use settings.yaml in jupyter notebook cell

Ответить
Ravneet Singh
Ravneet Singh - 20.03.2022 13:35

Thanks , I am getting below error do you know how to resolve it:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1125)

Ответить
JD
JD - 17.03.2022 09:28

it wont work in remote server.
no redirect page shows up from google and when i try to use CommanLineAuth() the link shows up in the console rather than automatically pops up in the window.. how can user use the sign in if they cant even see wheres the link for authentication?

Ответить
JD
JD - 15.03.2022 08:05

Hi i tried using this on remote server using CommanLineAuth() but it always sending me link from my console and i need to open it in browser rather than automatically shows up in tab.

Ответить
zsilverz
zsilverz - 02.03.2022 19:14

After much searching online to solve the various problems, your tutorial finally helped me. Thanks a lot.

Ответить
Gagandeep Gogna
Gagandeep Gogna - 31.01.2022 09:59

I am Getting Error
ImportError: cannot import name 'CredentialsFileSymbolicLinkError' from 'oauth2client.file'
Any Idea How to resolve

Ответить
Victor Santos
Victor Santos - 28.12.2021 19:22

Thanks, it helped me a lot!

Ответить
Cairo_sr
Cairo_sr - 18.12.2021 19:42

That was great. It worked perfectly.

Ответить
Sahil Suman
Sahil Suman - 17.12.2021 01:02

Thanks Bro For this amazing Video!

Ответить
K Venkat
K Venkat - 25.11.2021 15:00

if you dont mine can you share part 2 link please

Ответить
K Venkat
K Venkat - 25.11.2021 14:54

nice work dear

Ответить
Karim Khan
Karim Khan - 13.10.2021 16:43

Hello. Actually credentials.json not found my folder. Please help

Ответить
Sania Zahan
Sania Zahan - 02.10.2021 10:32

Hi thanks for sharing this, my file uploads but no credential file is stored.

Ответить
Rajinder Singh
Rajinder Singh - 16.09.2021 19:38

its working fine in offline localhost but not on web application getting authentication error

Ответить