Skip to main content

list_calendars

Function list_calendars 

Source
pub async fn list_calendars(
    config: &GoogleOAuthConfig,
    refresh_token: &str,
) -> Result<Vec<GoogleCalendarSummary>, GoogleOAuthError>
Expand description

Fetch every calendar visible to the connected Google account.

The refresh token is supplied by the server-side connection store. It must never be passed to browser clients or agent-facing tools.