Skip to content

Support Public Calendars' Event #57

@AndCycle

Description

@AndCycle

thanks for the project that saves me some time to work on personal tool to export timetree data to google calendar,

as I trying to export data from public TimeTree calendar
the data doesn't provide any alerts or recurrences

api endpoint https://timetreeapp.com/api/v2/public_calendars/{calendar_id}/public_events

  File "/home/andcycle/.local/share/mise/installs/python/3.12.7/lib/python3.12/site-packages/timetree_exporter/formatter.py", line 208, in to_ical
    for alarm in self.alarms:
                 ^^^^^^^^^^^
  File "/home/andcycle/.local/share/mise/installs/python/3.12.7/lib/python3.12/site-packages/timetree_exporter/formatter.py", line 132, in alarms
    for alert in self.time_tree_event.alerts:
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions