Rafael Huerta's Blog

Google Drive API with Python

This is a follow-up to a previous post [https://blog.zephyrok.com/google-drive-api-with-service-account-in-python/] on how to connect to Google Drive using a service account with Python, for this post we are going to see how to do some common operations like downloading and uploading files, searching, copying, and deleting. Most

Google Drive API with Service Account in Python

If you need to access your files from a program in Google Drive without needing you to authenticate yourself, that is, a machine-to-machine communication, then you will need to set up a service account. Creating a service account To create a service account, first, you need to create a project

Rafael Huerta's Blog © 2026