0.0.2 • Published 10 years ago
delevts-plugin-google v0.0.2
Delevts Google plugin
Installation
This plugin has been installed in delevts.
Preparation
- Open Google Developers Console.
- Create project.
- Open APIs & auth - Consent screen.
- Set EMAIL ADDRESS and PRODUCT NAME.
- Click Save button.
- Open APIs & auth - APIs.
- Enable Calendar API.
- Open APIs & auth - Credentials.
- Click Create new Client ID.
- Select Installed application from APPLICATION TYPE.
- Select Other from INSTALLED APPLICATION TYPE.
- Click Create Client ID.
- 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