Skip to content
This repository was archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
Initial Proof of concept
Browse files Browse the repository at this point in the history
  • Loading branch information
DusterTheFirst committed Dec 13, 2019
0 parents commit e40e90a
Show file tree
Hide file tree
Showing 9 changed files with 1,821 additions and 0 deletions.
1 change: 1 addition & 0 deletions .debug.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUST_LOG=whs_snow_day=debug
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/target
**/*.rs.bk
preposts.json
1 change: 1 addition & 0 deletions .release.env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
RUST_LOG=whs_snow_day=warn
Loading

2 comments on commit e40e90a

@ritterbuscha
Copy link

@ritterbuscha ritterbuscha commented on e40e90a Jan 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case this is helpful, snow closings are posted to this category on the website: https://wellesleyps.org/blog/category/urgent/

@DusterTheFirst
Copy link
Member Author

@DusterTheFirst DusterTheFirst commented on e40e90a Jan 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ritterbuscha that is currently how I fetch the cancellations although with a bit more optimized approach. There is a JSON API available for fetching them in a more machine readable format which I check periodically. It is publicly available here: https://wellesleyps.org/whs/wp-json/wp/v2/posts?categories=33&search=%22no%20school%22

Please sign in to comment.