Converts ics links to newline-delimited json for upload into an analytics database.
cdinto this repo
pip install -r requirements.txt
- Follow Google's instructions for "See your calendar (view only)". If you're not able to do this and want this as a features, ping me @ehfeng
python main.py --calendar-url <GOOGLE CALENDAR SECRET ICAL URL> --<json|sql>
calendar_events.jsonas a table in BigQuery or
cat calendar_events.sql | psql <your database>
Only generates up to
now for infintely recurring events. All recurring events are represented as separate events for simplicity when querying.
columns: id: type: string description: If event is a recurring event, this will be the same across all events. created: type: timestamp calendar: type: string name: type: string description: type: string attendees: type: string mode: repeated all_day: type: bool start: type: timestamp end: type: timestamp timezone: type: string ics: type: string description: json representation of event in ics format