delevts-plugin-google

0.0.2 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.20latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.20
0.0.10

Package Sidebar

Install

npm i delevts-plugin-google

Weekly Downloads

0

Version

0.0.2

License

none

Last publish

Collaborators

  • teloo