A simple app that does the following daily:
- Fetches all book titles from a 'Book Recommendations' Airtable base
- Fetches today's Kindle price for each book by visiting its product page on Amazon
- Sends an email notification if the Kindle price is below a predetermined threshold
node.js
git clone https://github.com/lhbrennan/bookPriceChecker.gitnpm installtouch .env, then add the following environment variables:- AIRTABLE_API_KEY
- CLIENT_ID
- CLIENT_SECRET
- REFRESH_TOKEN
node app.js- If using heroku, do
heroku local webto run locally
Pull requests are welcome.