1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-22 10:05:29 +02:00
Files
OpenIntegrations/docs/en/md/Google_Calendar/Calendar-list-management/Get-list-calendar.md
T
Vitaly the Alpaca (bot) e975cf8626 Main build (Jenkins)
2024-10-12 23:29:51 +03:00

1.4 KiB

sidebar_position
sidebar_position
3

Get list calendar

Gets a calendar from the user's list by ID

Function GetListCalendar(Val Token, Val Calendar) Export

Parameter CLI option Type Description
Token --token String Token
Calendar --calendar String Calendar ID

Returns: Map Of KeyAndValue - serialized JSON response from Google


    Token    = "ya29.a0AcM612yQIsgMPiOdOLBSBoiVfcCBuJ5T9HRP5lB04ipL2jQDnyuXGmn-IkxMKqss53fPz99sXRoX3_ZJt6s_N7YSfVzI88y_uUa2euM32...";
    Calendar = "cf73bcfa8a16eff552d6aa79a9610fdb38ec4db055ab1a0e3b93e32f8414f77c@group.calendar.google.com";

    Result = OPI_GoogleCalendar.GetListCalendar(Token, Calendar);
    
  oint gcalendar GetListCalendar --token %token% --calendar %calendar%

{
 "kind": "calendar#calendarListEntry",
 "etag": "\"1728454322717000\"",
 "id": "48ff105e488eea0a588031479250116f2e769f150c2ca1274b7e79c4b057b46b@group.calendar.google.com",
 "summary": "New name",
 "description": "New description",
 "timeZone": "Europe/Moscow",
 "colorId": "6",
 "backgroundColor": "#ffd800",
 "foregroundColor": "#000000",
 "accessRole": "owner",
 "defaultReminders": [],
 "conferenceProperties": {
  "allowedConferenceSolutionTypes": [
   "hangoutsMeet"
  ]
 }
}