Company
Date Published
Author
Kelley Robinson
Word count
1365
Language
English
Hacker News points
None

Summary

The author, Kelley Robinson, created a bot to keep her mom updated on her travel schedule using Python, Twilio, and Google Calendar. The bot uses the Google Calendar API to access her calendar and Twilio SMS to send messages. The code creates a Flask server that responds to incoming SMS messages by checking if the user asked for their current location or travel schedule. If not, it responds with a help message. To set up the bot, one needs to create a service account, enable the Google Calendar API, and install dependencies such as Flask, Twilio, and OAuth2client. The author also uses ngrok to make the application accessible on a public port for Twilio to connect to.