You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
1.1 KiB
1.1 KiB
sidebar_position
| sidebar_position |
|---|
| 1 |
Create calendar
Creates an empty calendar
Function CreateCalendar(Val Token, Val Name) Export
| Parameter | CLI option | Type | Description |
|---|---|---|---|
| Token | --token | String | Token |
| Name | --title | String | Name of the created calendar |
Returns: Map Of KeyAndValue - serialized JSON response from Google
Token = "ya29.a0AcM612xw6IRwwkQIOEhizd2pJ6LLI4UAhdhxmXDGEzYkcfUPrLYgDDwbsSi5iQdc78WPs_1_Qor5KipuV6mAIvr6z-AKzrBaMT4erIR5T...";
Name = "TestCalendar";
Result = OPI_GoogleCalendar.CreateCalendar(Token, Name);
oint gcalendar CreateCalendar --token %token% --title %title%
{
"kind": "calendar#calendar",
"etag": "\"1_TghspzwDY1Mr-ZwSjhCIC1UHk\"",
"id": "b091610023a29c4769db7652fcb7a5a3254f4d667bebd50f96f0f45f6517723b@group.calendar.google.com",
"summary": "TestCalendar",
"timeZone": "Europe/Moscow",
"conferenceProperties": {
"allowedConferenceSolutionTypes": [
"hangoutsMeet"
]
}
}