# sync-google-calendar-event

> Check serve.js inside dev folder on how to use the package

Latest version **0.0.5** (published 2021-11-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install sync-google-calendar-event
pnpm add sync-google-calendar-event
yarn add sync-google-calendar-event
bun add sync-google-calendar-event
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.5 |
| Published | 2021-11-08 |
| First published | 2021-11-05 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 55.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | dexter_o |

## Links

- npm: https://www.npmjs.com/package/sync-google-calendar-event
- npm.io page: https://npm.io/package/sync-google-calendar-event

## Recent versions

- 0.0.5 (latest) — 2021-11-08
- 0.0.4 — 2021-11-08
- 0.0.3 — 2021-11-08
- 0.0.2 — 2021-11-05
- 0.0.1 — 2021-11-05

## README

# witty-google-calendar

Check serve.js inside dev folder on how to use the package

How to use the package

1.  Install the package npm install sync-google-calendar-event
1.  Import the package
1.  Use the package and pass a parameter called config

Vue.use(Package, {
config: {
apiKey: 'YOUR_API_KEY',
clientId: 'YOUR_CLIENT_ID',
discoveryDocs: ["https://www.googleapis.com/discovery/v1/apis/calendar/v3/rest"],
scope: 'https://www.googleapis.com/auth/calendar'
}
})

3.  Use this component anywhere from your Vue components "sync-google-calendar-event"
4.  To insert event just call and pass a parameter this.$googleCalendar.insertEvents(events)
    Example parameter for the events
    [
    {
    summary: "SAMPLE TITLE", //Required
    location: "SAMPLE LOCATION", //Required
    description: "SAMPLE DESCRIPTION", //Required
    start: { //Required
    dateTime: new Date("2021-11-08 9:00"),
    timeZone: "Asia/Manila",
    },
    end: { //Required
    dateTime: new Date("2021-11-08 10:00"),
    timeZone: "Asia/Manila",
    },
    recurrence: ["RRULE:FREQ=DAILY;COUNT=1"],
    attendees: [{ email: "dexterdev0320@gmail.com" }],
    reminders: {
    useDefault: false,
    overrides: [
    { method: "email", minutes: 24 * 60 },
    { method: "popup", minutes: 10 },
    ],
    },
    }
    ]
    For the other properties, please refer link below.
    https://developers.google.com/calendar/api/v3/reference/events/insert

---
_Source: https://npm.io/package/sync-google-calendar-event · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
