Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
smcalilly committed Sep 26, 2024
1 parent 717ef68 commit 4a28bac
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
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.

0 comments on commit 4a28bac

Please sign in to comment.