A Golang inventory monitoring/notification script for newegg.com
Because newegg's auto-notify is not always available for certain products. Also, this script is much faster at detecting inventory and sending out emails.
- Be sure that golang is installed. If not, get it here.
- Google email address. NOTE you must allow less secure apps to access your account. Learn More
git clone https://github.com/gspencerfabian/newegg-watcher.git
cd newegg-watcher
make build
make run
*/5 * * * * cd /home/<username>/work/src/github.com/gspencerfabian/newegg-watcher && ./newegg-watcher >> newegg-watcher.log 2>&1
Modify path to point to your cloned repository
Modify config.json file
- items field: the newegg item number
- email fields: sender/receiver email address
- limits fields: set requirements like price min and max
{
"items": [
"N82E16813157746",
"N82E16819117728",
"N82E16835100007",
"N82E16835181103"
],
"email": {
"receiver": {
"address": [
"jsmith@example.com",
"5555555555@vtext.com",
"5551234567@txt.att.net"
]
},
"sender": {
"address": "xxxxxx@gmail.com",
"password": "xxxxxxxx"
}
},
"limits": {
"price": {
"min": 100,
"max": 400
}
}
}