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) 9c977d53e1 Main build (Jenkins)
2024-10-06 16:55:08 +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.a0AcM612xw6IRwwkQIOEhizd2pJ6LLI4UAhdhxmXDGEzYkcfUPrLYgDDwbsSi5iQdc78WPs_1_Qor5KipuV6mAIvr6z-AKzrBaMT4erIR5T...";
    Calendar = "e8a267e4a6629e0ef3f8a08ca54f52e2b031d3c40bd27d2866c2ed083c6353ec@group.calendar.google.com";

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

{
 "kind": "calendar#calendarListEntry",
 "etag": "\"1728140261497000\"",
 "id": "595e045ef60a36f287b2dc1af89e0685697bab5f36281d7177f4d2d10267a539@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"
  ]
 }
}