loading...

COVID-19 Daily Notifications with Twilio API - Twiliohackathon finish

derricksherrill profile image Derrick Sherrill ・1 min read

COVID-19 Notification Project

The aim of the project was to give users a convenient way to receive daily notifications about their state's status in regards to COVID-19.
The idea was a user could fill out an online form, select their state, and the app would automatically pull from a covid tracking API and send state based data back daily through a twilio powered text message.

Category Submission:

COVID-19 Communications

The Hosted Form

The form takes some data and inputs it into a google sheet using their API.

I built this using WayScript and the script can be found here.

Links to Code

The Python code used throughout the script can be found in this GitHub Repo.

What's The Stack?

I used WayScript to build this. The form is therefore hosted on an AWS server which connects to the google sheets API to be written.

From there, a daily CRON trigger activates which reads in these google sheet values using their API again. The API request to the covid tracking API was done using python and the requests library.

Data was filtered conditionally to the user and then passed back to them using the twilio API.

Additional Resources/Info

We made a demo on how to build this with WayScript over on YouTube.

Thanks for any and all feedback! It was a fun project to build and a great opportunity to showcase Twilio.

Posted on by:

derricksherrill profile

Derrick Sherrill

@derricksherrill

Software developer who sometimes makes videos

Discussion

markdown guide