google-calendar-bulk-delete
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

Google Calendar Bulk Delete

Want to delete lots of events from your calendar based on a specific event property? The website doesn't support it. This node app does! It is a typed and promisified version of the Google Calendar NodeJS quickstart guide, which also includes an additional function to delete events based on ID.

Contents

Example

There is an interactive program, example.ts which guides you along to deleting events in bulk via the command line.

  • Install Node, dependencies (npm i), run the program npm start
  • Click Enable Google Calendar API for your account, which effectively creates you a personal app (credentials.json). There is no data at risk here, as you have created an app. It doesn't yet have permission to access anyones data.
  • Run npm start
  • Then, you authorize your app (above) to gain access to your calendar account, by opening the link (token.json). You need to generate a credentials.json (step 1) and place it in the repo folder
  • You need to generate a token.json file by running npm start: contains your access and refress tokens
  • Programmatically choose IDs to delete Terminal screenshot

Known issues

  • You cannot see input into command line, when launching npm start for the first time (no token.json yet). Input still works though.

Readme

Keywords

Package Sidebar

Install

npm i google-calendar-bulk-delete

Weekly Downloads

1

Version

0.2.3

License

ISC

Unpacked Size

21.6 kB

Total Files

12

Last publish

Collaborators

  • zenboat