Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gcal-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gcal-cli

Google Calendar client for node.js

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Google Calendar Command Line Interface

Command line based application running in node.js that allows access to Google Calendar API. This application basically uses the official Google's node.js client library. Supports authorization and authentication with OAuth 2.0.

Still in a early stage, issues or PRs with desired functionality or fixes are appreciated.

Authorizing

  • Before running the app for the first time: You may need CLIENT_ID, CLIENT_SECRET and REDIRECT_URL. This information can be found going to the Developer Console, clicking your project --> APIs & auth --> credentials. Download the JSON file from the Developer Console to your working directory and rename it client_secret.json.

  • Running the app for the first time: It will prompt you to authorize access, follow the instructions.

Installation

Just clone it in your machine or install it globaly using npm.

$ npm install cli-gcal -g

Usage

Type 'help' to get a list of commands

List events

list [-i] [-m < max results >] [-d < date >]

Date format: YYYYYMM (Specified year and month), YYYY (The whole year) or MM or M (Current Year and specified month).

Insert events

insert < YYYYMMDD > [< start time: hhmm >] [< duration in minutes >]

Default: current date, all-day-event

Delete event

delete < event id >

Remove token stored in the file system

removeToken

References

Keywords

FAQs

Package last updated on 10 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc