# @exoplay/exobot-plugin-calendar

> exobot plugin for calendar events

Latest version **2.0.0** (published 2017-05-05) · LGPL license · 0 weekly downloads

## Install

```sh
npm install @exoplay/exobot-plugin-calendar
pnpm add @exoplay/exobot-plugin-calendar
yarn add @exoplay/exobot-plugin-calendar
bun add @exoplay/exobot-plugin-calendar
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2017-05-05 |
| First published | 2016-11-27 |
| Weekly downloads | 0 |
| License | LGPL |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jack Lawson |
| Maintainers | ajacksified |
| Keywords | exobot, chat, bot, plugin, calendar |

## Links

- npm: https://www.npmjs.com/package/@exoplay/exobot-plugin-calendar
- Repository: https://github.com/exoplay/exobot-plugin-calendar
- Homepage: https://github.com/exoplay/exobot-plugin-calendar#readme
- Issues: https://github.com/exoplay/exobot-plugin-calendar/issues
- npm.io page: https://npm.io/package/@exoplay/exobot-plugin-calendar

## Dependencies (4)

- [moment](https://npm.io/package/moment.md) ^2.17.1
- [googleapis](https://npm.io/package/googleapis.md) ^16.1.0
- [@exoplay/exobot](https://npm.io/package/@exoplay/exobot.md) >=4.1 <5
- [google-auth-library](https://npm.io/package/google-auth-library.md) ^0.10.0

## Recent versions

- 2.0.0 (latest) — 2017-05-05
- 1.0.0 — 2016-11-27

## README

# exobot-plugin-calendar

Create and read events with Google Calendar.

## Usage

* `exobot schedule Raid Night every Friday at 9pm PST`
* `exobot events` or `exobot calendar list`

## Installation

* `npm install --save @exoplay/exobot/exobot-plugin-calendar`

## A Setup Example

```javascript
import Exobot from '@exoplay/exobot';
import Calendar from '@exoplay/exobot-plugin-calendar';

const Bot = new Exobot(BOT_NAME, {
  // ...
  plugins: [
    new Calendar(options);
  ],
});
```

## Options

Read up on how to set up calendar secrets and ids from
[Google documentation](https://developers.google.com/google-apps/calendar/auth).

* googleSecret or CALENDAR_GOOGLE_SECRET In environment; string required
* googleId or CALENDAR_GOOGLE_ID in environment; string required
* googleAccessToken or CALENDAR_GOOGLE_ACCESS_TOKEN in environment; string required
* googleTokenType or CALENDAR_GOOGLE_TOKEN_TYPE in environment; string required
* googleRefreshToken or CALENDAR_GOOGLE_REFRESH_TOKEN in environment; string required
* googleExpiryDate or CALENDAR_GOOGLE_EXPIRY_DATE in environment; string required

## License

LGPL licensed. Copyright 2016 Exoplay, LLC. See LICENSE file for more details.

---
_Source: https://npm.io/package/@exoplay/exobot-plugin-calendar · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
