Quick Add and Config Screen Work

This commit is contained in:
2017-03-09 09:32:40 -06:00
parent 23b8a190ec
commit 1e0e954a38
4 changed files with 109 additions and 34 deletions

19
client_secret.go.example Normal file
View File

@@ -0,0 +1,19 @@
package main
/**
* = API Set Up Process =
* 1. Use [this wizard](https://console.developers.google.com/start/api?id=calendar) 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 Calendar API Quickstart", and click the Create button.
* 6. Click OK to dismiss the resulting dialog.
* 7. Click the (Download JSON) button to the right of the client ID.
* 8. Copy the contents of the JSON file into the string variable above.
* Alternatively just input the path/filename of the downloaded json file when prompted on first run of galendar.
* 9. Rename this file to `client_secret.go`
**/
// Put the entire json downloaded from the Google API Manager here
var GoogleClientJson = ``