Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
twentyTwo committed Apr 8, 2017
2 parents a9515e3 + ea24eda commit b98ffc2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Step 1: Turn on the Google Sheets API

1. Use [this wizard](https://console.developers.google.com/start/api?id=sheets.googleapis.com) to create or select a project in the Google Developers Console and automatically turn on the API. Click **Continue** , then **Go to credentials**.
2. On the **Add credentials to your project** page, click the **Cancel** button.
3. At the top of the page, select the **OAuth consent screen** tab. Select an **Email address** , enter a **Product name** if not already set, and click the **Save** button.
4. Select the **Credentials** tab, click the **Create credentials** button and select **OAuth client ID**.
5. Select the application type **Other** , enter the name "Google Sheets API Quickstart", and click the **Create** button.
6. Click **OK** to dismiss the resulting dialog.
7. Click the file\_download (Download JSON) button to the right of the client ID.
8. Move this file to your working directory and rename it client\_secret.json.

## Step 2: Prepare the project

1. Create a new Visual C# Console Application project in Visual Studio.
2. Open the NuGet Package Manager Console, select the package source **nuget.org** , and run the following command:

Install-PackageGoogle.Apis.Sheets.v4

## Step 3: Set up the sample

1. Drag client\_secret.json (downloaded in Step 1) into your Visual Studio Solution Explorer.
2. Select client\_secret.json, and then go to the Properties window and set the **Copy to Output Directory** field to **Copy always**.

0 comments on commit b98ffc2

Please sign in to comment.