DEV Community

Discussion on: Create a CSV of Yesterday's Google Calendar Events

Collapse
 
sanjay555 profile image
Sanjayshr • Edited

This is neat !! How do I take this script/app to cloud(Heroku) and pull data from the calendar and save it in CSV file whenever I add a new event in google calendar ?

Collapse
 
kajigga profile image
Kajigga

That, my friend, would be an interesting project. I may consider writing an article around it someday. It would too long to describe the whole thing in this comment but these steps might get you started.

  • Start a new project with a web framework such as Flask or Django
  • Add this code to the project
  • create views to see the calendar events
  • create a command line utility to poll for new events
  • schedule this utility to run every day (using crontab or something similar)
Collapse
 
sanjay555 profile image
Sanjayshr • Edited

Awesome this answer was expected !! However, That is my first step to build personal assistant chatbot, As a beginner python/flask developer, I love to hear from you more on this.

Thread Thread
 
kajigga profile image
Kajigga

Flask would be a great platform for a basic web app illustrating how to do this. I may put a small project together to illustrate how to do this Calendar polling in a webapp and post an article on it.

Thread Thread
 
sanjay555 profile image
Sanjayshr

Awesome eagerly waiting for that.