Open GUI opened 3 years ago
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?
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.
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.
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.
As an alternative, we could publish separate RSS feeds for different areas of the US. Maybe roughly 50 mile radius circles.
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.