Simple API for Google Calendar management
Project description
Google Calendar Simple API or gcsa is a library that simplifies event management in a Google Calendars. It is a Pythonic object oriented adapter for the official API.
Installation
pip install gcsa
Example usage
from gcsa.google_calendar import GoogleCalendar
from gcsa.event import Event
from gcsa.recurrence import Recurrence, DAILY
calendar = GoogleCalendar('your_email@gmail.com')
event = Event(
'Breakfast',
start=date(2020, 6, 14),
recurrence=Recurrence.rule(freq=DAILY),
minutes_before_email_reminder=50
)
calendar.add_event(event)
for event in calendar:
print(event)
See documentation for more parameters and functionality.
Suggestion: use beautiful_date to creat date and datetime objects in your projects (because its beautiful… just like you).
References
Template for setup.py was taken from kennethreitz/setup.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
gcsa-0.2.1.tar.gz
(19.1 kB
view hashes)
Built Distribution
gcsa-0.2.1-py2.py3-none-any.whl
(24.1 kB
view hashes)