You can retrieve user's settings for the given account with :py~gcsa.google_calendar.GoogleCalendar.get_settings
.
To do so, create a :py~gcsa.google_calendar.GoogleCalendar
instance (see getting_started
to get your credentials):
from gcsa.google_calendar import GoogleCalendar
gc = GoogleCalendar()
Following code will return a corresponding :py~gcsa.settings.Settings
object:
from gcsa.google_calendar import GoogleCalendar
gc = GoogleCalendar()
settings = gc.get_settings()
print(settings)
User settings:
auto_add_hangouts=true
date_field_order=DMY
default_event_length=60
format24_hour_time=false
hide_invitations=false
hide_weekends=false
locale=en
remind_on_responded_events_only=false
show_declined_events=true
timezone=Europe/Prague
use_keyboard_shortcuts=true
week_start=1