You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
1.4 KiB
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.a0AcM612w6SWzMf3Ti1dSiFdgdLdXxLBjzKdXoLGuGDHoSXzb0uAKe5hJ-HPz1Njyp7HuHE6NnMnevQwbo0AR-yPAwfrA1OsMFZ_Fac2ASn...";
Calendar = "6fc8b0f11deef05d38eb5d351ab183db9cef1ba870b46367836fc9dc9b9eb4a4@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"
]
}
}