Skip to content

teloo/delevts-plugin-google

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Delevts Google plugin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published