Skip to content

CodersCafeTech/Google-Calendar-Viam-Module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google-calendar modular service

This module implements the rdk generic API in a coderscafe:calendar:google-calendar model. With this module, you can read and write events on your Google Calendar.

Requirements

Ensure you have generated a service account file from the Google Cloud Console, if not follow the steps from here.

Build and Run

To use this module, follow these instructions to add a module from the Viam Registry and select the coderscafe:calendar:google-calendar module.

Configure your generic

Note

Before configuring your generic, you must create a machine.

  • Navigate to the Config tab of your robot’s page in the Viam app.
  • Click on the Services subtab and search for coderscafe:calendar:google-calendar.
  • Select the coderscafe:calendar:google-calendar model.
  • Enter a name for your generic service and click Create.
  • Save and wait for the service to finish setup.

On the new service panel, copy and paste the following attribute template into your generic’s Attributes box:

{
  "calendar_id": calendar-id,
  "service_account_file": path-of-service-account-json-file
}

Note

For more information, see Configure a Robot.

Attributes

The following attributes are available for coderscafe:calendar:google-calendar module:

Name Type Inclusion Description
calendar_id string Required ID of your Calendar
service_account_file string Required Path to your Service Account JSON file

Example Configuration

{
  "calendar_id": calendar-id,
  "service_account_file": path-of-service-account-json-file
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published