0.0.2 • Published 10 years ago

delevts-plugin-google v0.0.2

Weekly downloads
4
License
-
Repository
github
Last release
10 years ago

Delevts Google plugin Build Status

Installation

This plugin has been installed in delevts.

Preparation

  1. Open Google Developers Console.
  2. Create project.
  3. Open APIs & auth - Consent screen.
    1. Set EMAIL ADDRESS and PRODUCT NAME.
    2. Click Save button.
  4. Open APIs & auth - APIs.
    1. Enable Calendar API.
  5. Open APIs & auth - Credentials.
    1. Click Create new Client ID.
    2. Select Installed application from APPLICATION TYPE.
    3. Select Other from INSTALLED APPLICATION TYPE.
    4. Click Create Client ID.
  6. Displays CLIENT ID AND CLIENT SECRET.

Usage

Write the config file.
For example.

{
  "clientId": "<Google OAuth client id>",
  "clientSecret": "<Google OAuth client secret>",
  "calendarId": "<Calendar id>"
}

Run this command.

$ delevts google /path/to/config.json

Opens the browser.
Accept.

Copy the code and input it to console.

Displays the refresh token.
Write the config file.

{
  "clientId": "<Google OAuth client id>",
  "clientSecret": "<Google OAuth client secret>",
  "refreshToken": "<Google OAuth refresh token>",
  "calendarId": "<Calendar id>"
}

Run this command.

$ delevts google /path/to/config.json

License

See license (MIT License).

Authors

  • teloo
0.0.2

10 years ago

0.0.1

10 years ago