Skip to content
R package to read events from google calendar
R
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data-raw
inst/secret
man
pkgdown/favicon
tests
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
README.Rmd
README.md
_pkgdown.yml
codecov.yml
gcalendr.Rproj

README.md

gcalendr

Travis build status Lifecycle: experimental CRAN status Codecov test coverage

This package enables you to read events from google calendar.

Installation

The package is not yet on CRAN.

You can install the development version of gcalendr from github using:

# install.packages("devtools")
devtools::install_github("andrie/gcalendr")

Example

Use this example to authenticate, list available calendars and view events:

## Set up google oauth permissions
## This will prompt you to specify an account
calendar_auth()
## To specify a specific account, provide your account id, typically an email address
calendar_auth("apdevries@gmail.com")

## Retrieve tibble of available calenders
calendar_ids <- calendar_list()
calendar_ids

## Retrieve tibble of events from a specific calendar

my_cal_id <- "apdevries@gmail.com"
events <- calendar_events(my_cal_id, days_in_past = 90, days_in_future = 90)
events
You can’t perform that action at this time.