A lightweight data pipeline that sends email notifications to subscribers whenever a reservation opens up at their favorite Glacier National Park backcountry campsite. The pipeline is orchestrated by a Makefile that is setup to run automatically as a Github Action.
- Manually add new subscribers with
backcountry/add_user.py, passing arguments with their preferred campsites and dates. backcountry/get_backcountry_sites.pygets a list of valid campsites and dumps it into a file.backcountry/get_site_availability.pydownloads the availability of each campsite.backcountry/subscriptions.pychecks to see if any of the subscribers' chosen campsites have a reservation opening on their preferred dates.backcountry/notify.pynotifies subscribers if there was an opening.
Thank you robot! Time to go outside!