Skip to content

Commit

Permalink
docs: update readme for drive readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Batson committed Apr 13, 2020
1 parent 73d284b commit 2e697f5
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion samples/drive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,26 @@ These samples allow you to list, download, and upload files from Google Drive.
## Running the samples

### **Note: Node.js version 8 or greater is required to run samples.**
Set the following values in `oauth2.keys.json` (up one directory):
Set the following values in `oauth2.keys.json` (up one directory) under the `web` key:

* `redirect_uris`
* `client_id`
* `project_id`
* `client_secret`

Your file should look like this:

```json
{
"web" : {
"redirect_uris": ["http://localhost:3000/oauth2callback"],
"client_id": "<YOUR_CLIENT_ID>",
"client_secret": "<YOUR_CLIENT_SECRET>",
"project_id": "<YOUR_PROJECT_ID>"
}
}
```

__Run the `quickstart.js` sample:__

This sample will list the files in the user's Google Drive.
Expand Down

0 comments on commit 2e697f5

Please sign in to comment.