Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions drive/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ makes requests to the Drive V3 API.

## Prerequisites
- Python
- Create a project
- Activate the Drive API in the Google API Console([the detail page](https://developers.google.com/workspace/guides/create-project))
- Create a OAuth client ID credential and download the json file ([the detail page](https://developers.google.com/workspace/guides/create-credentials))
- Rename the json file
- Visual Studio Code or another text editor
- An active Google account with access to Google Devlopers

## Getting Started
1. Clone the Github repo either using the git command or by downloading and extracting the folder.
```shell
gh repo clone googleworkspace/python-samples
```
2. Open the extrancted or cloned folder in Visual Studio Code or your text editor.
3. Activate the Drive API in the Google API Console ([Instructions here.](https://developers.google.com/workspace/guides/create-project))
4. Create a OAuth client ID credential and download the OAuth client ID json file ([Instructions here.](https://developers.google.com/workspace/guides/create-credentials))
5. Move the json file into the quickstart folder (*/python-samples/drive/quickstart) and rename it credentials.json

## Install

Expand All @@ -23,3 +31,6 @@ pip install -r requirements.txt
```shell
python quickstart.py
```

## Expanding
The Google Drive devloper api can be found [here](https://developers.google.com/drive/api).