1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2024-12-23 02:06:12 +02:00
OpenIntegrations/docs/en/md/Google_Calendar/Calendar-metadata-management/Get-calendar-metadata.md
2024-06-04 21:55:01 +03:00

1.0 KiB

sidebar_position
2

Get calendar

Gets calendar information by ID

Function GetCalendarMetadata(Val Token, Val Calendar) Export

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

Returns: Key-Value Pair - serialized JSON response from Google

	
 
 Response = OPI_GoogleCalendar.GetCalendarMetadata(Token, "55868c32be16935f0..."); //Map
 Response = OPI_Tools.JSONString(Response); //String
 

	
 
 oint gcalendar GetCalendarMetadata --token %token% --calendar %calendar%


{
 "conferenceProperties": {
 "allowedConferenceSolutionTypes": [
 "hangoutsMeet"
 ]
 },
 "description": "TestDescription",
 "summary": "TestCalendar (change.)",
 "timeZone": "UTC",
 "id": "155868c32be26e4c4123a107810d40b929b516935f080e4747261fdc3416227c@group.calendar.google.com",
 "etag": "\"4A10_PI6FFY129ggELzZ8veUU-U\"",
 "kind": "calendar#calendar"
 }