🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@robinpath/google-calendar

Package Overview
Dependencies
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@robinpath/google-calendar

Google Calendar integration — list, create, update, delete events, manage calendars, quick-add natural-language events, check free/busy, move events between calendars, and respond to invitations. Service-account authentication using a JWT exchange (no use

latest
npmnpm
Version
0.3.0
Version published
Maintainers
4
Created
Source

@robinpath/google-calendar

Google Calendar module for RobinPath.

Category Functions Auth License

Why use this module?

The google-calendar module lets you:

  • List events from a calendar.
  • Get a single event by ID.
  • Create a new calendar event.
  • Update an existing event.
  • Delete a calendar event.

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

robinpath add @robinpath/google-calendar

Quick Start

1. Set up credentials

googleCalendar.setCredentials "ya29.xxx"

2. List events from a calendar.

googleCalendar.listEvents "primary" {"timeMin":"2025-01-01T00:00:00Z","maxResults":10}

Available Functions

FunctionDescription
google-calendar.setCredentialsSet the OAuth2 access token for Google Calendar API.
google-calendar.listEventsList events from a calendar.
google-calendar.getEventGet a single event by ID.
google-calendar.createEventCreate a new calendar event.
google-calendar.updateEventUpdate an existing event.
google-calendar.deleteEventDelete a calendar event.
google-calendar.listCalendarsList all calendars for the authenticated user.
google-calendar.createCalendarCreate a new calendar.
google-calendar.quickAddCreate an event from a natural-language text string.
google-calendar.freeBusyCheck free/busy status for calendars.

Examples

List events from a calendar.

googleCalendar.listEvents "primary" {"timeMin":"2025-01-01T00:00:00Z","maxResults":10}

Get a single event by ID.

googleCalendar.getEvent "primary" "event-id"

Create a new calendar event.

googleCalendar.createEvent "primary" {"summary":"Meeting","start":{"dateTime":"2025-06-01T10:00:00Z"},"end":{"dateTime":"2025-06-01T11:00:00Z"}}

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/google-calendar";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  googleCalendar.setCredentials "ya29.xxx"
  googleCalendar.listEvents "primary" {"timeMin":"2025-01-01T00:00:00Z","maxResults":10}
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

License

MIT

Keywords

googlecalendar

FAQs

Package last updated on 06 May 2026

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