covid-vaccine-spotter icon indicating copy to clipboard operation
covid-vaccine-spotter copied to clipboard

Add notifications

Open GUI opened this issue 4 years ago • 6 comments

Letting people signup for notifications (either e-mail or text) would obviously be even better than making people refresh the page. Already in progress in #1.

GUI avatar Feb 21 '21 06:02 GUI

Hey @GUI, I was getting started writing this based on detecting changes to the API endpoints and found this ticket while poking around. It's probably a better idea to implement it on the site itself. Do you have any ideas in mind for how you'd want to implement it?

iandees avatar Mar 29 '21 18:03 iandees

I've implemented notifications for a specific bounding box using a Google Forms to signup/unsubscribe, and a bash script to scrape both the Forms and the Spotter API for my state, and pass results along to Twilio. If it helps, I can extract my secret keys as ENV variables and share the script here.

kmarekspartz avatar Mar 30 '21 03:03 kmarekspartz

I created this script for a hackathon. It automatically grabs appointments and if they match the specified criteria, sends a text using Twilio. Here's the link if it can help with this at all--not that it's very complicated.

https://github.com/patrickdemers6/usa-vaccine-alerter

patrickdemers6 avatar Mar 30 '21 22:03 patrickdemers6

I wonder if this could be done with RSS. Are there RSS readers that support filtering (appointment by zipcode) and on-phone notification? That would avoid being in the business of managing the SMS output stream.

michaelaltmann avatar Mar 31 '21 19:03 michaelaltmann

Maybe https://feedbin.com/notifier

michaelaltmann avatar Mar 31 '21 19:03 michaelaltmann

As an alternative, we could publish separate RSS feeds for different areas of the US. Maybe roughly 50 mile radius circles.

michaelaltmann avatar Mar 31 '21 19:03 michaelaltmann