Program structure

This commit is contained in:
Edgar P. Burkhart 2020-09-20 20:55:27 +02:00
parent a88ea53dbc
commit 6c1347f4a8
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -7,6 +7,10 @@ import caldav, icalendar
class GoogleSheetsParser(HTMLParser):
"""
Definition of a Google Sheets parser providing a table with each cell
and its position and size
"""
def handle_starttag(self, tag, attrs):
def handle_endtag(self, tag):
@ -14,5 +18,12 @@ class GoogleSheetsParser(HTMLParser):
def handle_data(self, data):
# Getting the Google Sheet
# Parsing the Sheet
calParser = GoogleSheetsParser()
# Transforming the cells into events
# Pushing events to caldav server