|
|
|
|
|
- Special cases
- Possible error cases:
- Limit
GglListCalendar (Function) In french: GglListeAgenda Retrieves the list of Google calendars associated with the specified Google account. This function uses the Google Calendar service. // Connection Cnt is gglConnection ... IF GglConnect(Cnt) = False THEN Error(ErrorInfo()) RETURN END arrCalendars is array of gglCalendar arrCalendars = GglListCalendar(Cnt, gglAll) // Display the title of each calendar Calendar is gglCalendar FOR EACH Calendar OF arrCalendars Trace(Calendar.Title) END
Syntax
<Result> = GglListCalendar(<Google connection> [, <Filter>])
<Result>: Array of gglCalendar variables List of Google calendars for the specified account. <Google connection>: gglConnection variable Name of the gglConnection variable to be used. This connection was validated by GglConnect. <Filter>: Optional Integer constant Indicates the type of calendar to list: | | gglAll (Default value) | Lists all the calendars subscribed (shared) and created by the current user. | gglUser | Lists the calendars created by the current user. |
Remarks Special cases To retrieve the calendar with the associated events, use GglGetCalendar. Possible error cases: - The Internet connection is not valid.
- The authentication was not performed properly.
- The XML response of the server cannot be read.
To find out whether an error occurred, use the ErrorOccurred variable. Limit Only the first 100 calendars are returned.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|