Google Drive API in Python | Getting Started

preview_player
Показать описание
Google Drive API allows you to create apps that leverage Google Drive cloud storage. You can develop applications that integrate with Google Drive, and create robust functionality in your application using Google Drive API.

In this Google Drive API in Python tutorial series, I will be covering 1) how to get started with Google Drive API in Python, 2) learn different resources with examples, and 3) cover some of the real life use cases.

To install Google Client library
---------------------------------------------------
pip install --upgrade google-api-python-client google-auth-httplib2 google-auth-oauthlib

► Buy Me a Coffee? Your support is much appreciated!
-------------------------------------------------------------------------------------
☕ Venmo: @Jie-Jenn

► Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------

#GoogleDriveAPI #Python
Рекомендации по теме
Комментарии
Автор

how to get the "CLIENT_SECRET_FILE" ?

SurajPratap-iohe
Автор

hey jie i have few quires ..
1) can we change ownership of google sheet, giving and removing rights of a file/folder
2)Change file name in drive
3)Remove/Give rights of download/ copy for viewer and commentor through google sheets.
4)Give temporary access of a file to a person

can we do all this things using code ?

amardeepsingh
Автор

Please makes sure you download the source code of Google.py first, and makes sure the file name is Google.py with capital G.

Source code to Google.py:

jiejenn
Автор

why is it that when i run the code it pops a message in both the terminal and on the web browser that I have no permission to access the app? and that the app is unverified?

pumpkinpie
Автор

Hi Jie Jenn. Great video! I am trying to figure out how to do these exact same processes using a service account. I seem to be having issues doing so. Do you have any videos on doing these exact same things but using a service account? Thanks!

ParkerWilliams
Автор

I am getting error : from google import Create_Service
ImportError: cannot import name 'Create_Service' from 'google' (unknown location)
What to do ?

vishalp
Автор

Hi Jie. In 6:42, you had a json file in CLIENT_SECRET_FILE. what is that json file?

MinhNguyen-ultk
Автор

Hello, Jie Jenn, are there any actual security issues with using a service account? What is wrong with that method?

ITCS-wnsc
Автор

im using google drive api to upload and backup files for a project where can I view the files (will be a better if google cloud is not used)?

arvinnooli
Автор

Hi @Jie Jenn.
Really awesome video series.
I am trying to run your tutorial using Jupyter Notebook. However, I keep running into this error: ModuleNotFoundError: No module named 'Google'. Would you know the issue and how to resolve this?

arjunsaksena
Автор

I get this error: TypeError: Create_Service() missing 1 required positional argument: 'scopes'. I have copied exactly what you did what does this mean?

Sketchy
Автор

my drive API wasn't active when I checked, what should I do?

I mean I know i should activate it, but why wasn't it on?

axvex
Автор

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.
can anyone help with this ?

nukegama
Автор

sir after Authentication successful there is no file downloaded name crediancials.json what to do?

tusharmaheshwari
Автор

while i execute this i am getting an error which is
" No such file or directory:
how to solve this issue

PuveeshKeshavM
Автор

Hi! Is it possible connect google drive to Discord, so when I upload a file on google drive a message will be send in a channel of discord?

zectorlab
Автор

Great Video, with accurate explanation but I have followed the procedure, as per the video, but these error is occured
Authorization Error
Error 403: access_denied
The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google.

ammitgangawane
Автор

i am getting, Access blocked Error 400: redirect_uri_mismatch, please help

piroayr
Автор

when i press F5 to run this code .it keep say 'Please visit this URL to authorize this application' even i already add my acount on Oauth tester, how it works?

harrish
Автор

I already installed the Google Client library and I can't...
Error:
from google_auth_oauthlib.flow import Flow, InstalledAppFlow
ModuleNotFoundError: No module named 'google_auth_oauthlib'

ricardoamaro