Skip to content

Amazon Price Tracking application sends an email to the user when the price for a particular item drops below a set threshold.

Notifications You must be signed in to change notification settings

REEKRAJROY/Amazon-price-tracker-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Amazon-price-tracker-app

This is a JavaScript application which scrapes off prices from Amazon's site and sends an email to the host when price of a particular item drops below a set threshold. Scraping has been implemented using nightmare library, sendgrid has been used to implement mailing services. dotenv library is used to handle the .env files.

🚀️ Setting up

npm i nightmare @sendgrid/mail

To import nightmare and sendgrid libraries.

npm i dotenv

To import dotenv library.

Api key from sendgrid copied stored in a variable inside .env file and set in parser.js.

Set up a mailing service where mail can be received. temp-mail.org is a good option.

Simillarly, select an email from where the alert will be send.

node parser.js https://www.amazon.in/itemlink price_threshold

To run the app.

📑️ Further Documentation

docs.sendgrid from Twilio has everything mentoned to setting up Sendgrid api.

About

Amazon Price Tracking application sends an email to the user when the price for a particular item drops below a set threshold.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published