Skip to content

DevRelSquad-blogs/Google_Drive_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Google Drive API Python Project

This project demonstrates how to interact with Google Drive using the Google Drive API in Python. You can upload files, create folders, and perform other operations on Google Drive.

Prerequisites

Before running this project, ensure you have the following:

  1. Google Account: You must have a Google Account to access Google Drive and enable the Drive API.

  2. Python Installed: Python should be installed on your system. You can download Python from the official Python website.

Required Python Packages

To run this project, you'll need to install a few Python packages. You can install them using pip:

pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib

Setup Instructions

  1. Google Cloud Project:

    • Create a project in the Google Cloud Console.

    • Enable the Google Drive API for your project.

    • Create OAuth 2.0 credentials or a service account key.

    • Download the credentials JSON file.

  2. Configure Your Python Script:

    • Place the credentials JSON file in your project directory.

    • Update the Python script to use your credentials.

  3. Run the Script:

    • Run your Python script to interact with Google Drive (upload files, create folders, etc.).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages