calendar_endpoints: List Calendar endpoints

Description Usage Arguments Value Examples

View source: R/gcalendr_endpoints.R

Description

Returns a list of selected calendar API v3 endpoints, as stored inside the googlecalendar package. The names of this list (or the id sub-elements) are the nicknames that can be used to specify an endpoint in request_generate(). For each endpoint, we store its nickname or id, the associated HTTP verb, the path, and details about the parameters. This list is derived programmatically from the calendar API v3 Discovery Document.

Usage

1

Arguments

i

The name(s) or integer index(ices) of the endpoints to return. Optional. By default, the entire list is returned.

Value

A list containing some or all of the subset of the calendar API v3 endpoints that are used internally by gcalendr.

Examples

1
2
3
str(calendar_endpoints(), max.level = 2)
calendar_endpoints("calendar.events.list")
calendar_endpoints(4)

andrie/gcalendr documentation built on March 8, 2020, 2:36 a.m.