GoogleCalendarToolkit
init
- timeout (Optional[float]): The timeout value for API requests in seconds. If None, no timeout is applied. (default: :obj:
None
)
create_event
- event_title (str): Title of the event.
- start_time (str): Start time in ISO format (YYYY-MM-DDTHH:MM:SS).
- end_time (str): End time in ISO format (YYYY-MM-DDTHH:MM:SS).
- description (str, optional): Description of the event.
- location (str, optional): Location of the event.
- attendees_email (List[str], optional): List of email addresses. (default: :obj:
None
) - timezone (str, optional): Timezone for the event. (default: :obj:
UTC
)
get_events
- max_results (int, optional): Maximum number of events to retrieve. (default: :obj:
10
) - time_min (str, optional): The minimum time to fetch events from. If not provided, defaults to the current time. (default: :obj:
None
)
update_event
- event_id (str): The ID of the event to update.
- event_title (Optional[str]): New title of the event. (default: :obj:
None
) - start_time (Optional[str]): New start time in ISO format (YYYY-MM-DDTHH:MM:SSZ). (default: :obj:
None
) - end_time (Optional[str]): New end time in ISO format (YYYY-MM-DDTHH:MM:SSZ). (default: :obj:
None
) - description (Optional[str]): New description of the event. (default: :obj:
None
) - location (Optional[str]): New location of the event. (default: :obj:
None
) - attendees_email (Optional[List[str]]): List of email addresses. (default: :obj:
None
)
delete_event
- event_id (str): The ID of the event to delete.