-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
# parks | ||
# parks | ||
|
||
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. | ||
|
||
### Scripts overview | ||
1. Manually add new subscribers with `python backcountry/add_user.py` script, passing arguments with their preferred campsites and dates. | ||
2. `backcountry/get_backcountry_sites.py` gets a list of open campsites and dumps it into a file | ||
3. `backcountry/get_site_availability.py` uses the output of `get_backcountry_sites` to download the availability of each campsite. | ||
4. `backcountry/subscriptions.py` checks to see if any of the subscribers' chosen campsites have a reservation opening on their preferred dates. | ||
5. `backcountry/notify.py` notifies subscribers if there was an opening. |