HackerShackOfficial / Smart-Mirror

Raspberry powered mirror which can display news, weather, calendar events
MIT License
911 stars 384 forks source link

Implementing Google Calender issue.. #109

Closed sajuran123 closed 6 years ago

sajuran123 commented 6 years ago

Hey

Did anyone implement the "Google Calender" yet?

I personally got the calendar title on the screen and the API up running from the "Python Quickstart".

My question is how to get the API from "Python Quickstart" implemented in the exisiting code from HackerShack?

Thank you

Sajuran

big1surg commented 6 years ago

https://github.com/big1surg/smart_mirror/blob/master/module_calendar.py

i broke it down into a module and then just called it from the main page. its not the best way to do it but it works

    # calender, added this to the main frame
    self.calender = module_calendar.Calendar(self.bottomFrame)
    self.calender.pack(side = LEFT, anchor=S, padx=50, pady=50)

image