All Projects → anfederico → Amazon Alert

anfederico / Amazon Alert

Track prices on Amazon and receive email alerts for price drops

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Amazon Alert

Icinga2
Icinga is a monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.
Stars: ✭ 1,670 (+475.86%)
Mutual labels:  monitoring, notification
Notifme Sdk
A Node.js library to send all kinds of transactional notifications.
Stars: ✭ 1,854 (+539.31%)
Mutual labels:  email, notification
Zabbix Slack Alertscript
Zabbix AlertScript for Slack.com chat
Stars: ✭ 406 (+40%)
Mutual labels:  monitoring, alerts
Fileboy
fileboy,文件变更监听通知工具,使用 Go 编写。Fileboy, File Change Monitoring Notification Tool, written with Go.
Stars: ✭ 345 (+18.97%)
Mutual labels:  monitoring, notification
Magento2 Gmail Smtp App
Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers
Stars: ✭ 281 (-3.1%)
Mutual labels:  amazon, email
Email my pc
远程监控电脑,也许一切只需要一封邮件。
Stars: ✭ 240 (-17.24%)
Mutual labels:  email, monitoring
Alertmanager
Prometheus Alertmanager
Stars: ✭ 4,574 (+1477.24%)
Mutual labels:  email, monitoring
amazon-workmail-lambda-templates
Serverless applications for Amazon WorkMail.
Stars: ✭ 17 (-94.14%)
Mutual labels:  amazon, email
purppura
A server for receiving and processing alerts & events.
Stars: ✭ 18 (-93.79%)
Mutual labels:  alerts, notification
Amazon Fresh Whole Foods Delivery Slot Finder
A Mac tool that finds available delivery slots for Amazon's Whole Foods delivery and Amazon Fresh services
Stars: ✭ 1,048 (+261.38%)
Mutual labels:  amazon, notification
sesdashboard
Analytics and activity tracking dashboard for AWS Simple Email Service
Stars: ✭ 36 (-87.59%)
Mutual labels:  amazon, email
website-change-monitor
Monitor a website and get email and Slack notifications when specific changes are detected
Stars: ✭ 104 (-64.14%)
Mutual labels:  email, notification
Alexa Skill Kit
Library for effortless Alexa Skill development with AWS Lambda
Stars: ✭ 278 (-4.14%)
Mutual labels:  amazon
Workbase Server
Slack alternative, email integrated, build with Meteor
Stars: ✭ 284 (-2.07%)
Mutual labels:  email
Alertr
A client/server based multi-purpose alarm and monitoring system
Stars: ✭ 277 (-4.48%)
Mutual labels:  monitoring
Stackimpact Go
DEPRECATED StackImpact Go Profiler - Production-Grade Performance Profiler: CPU, memory allocations, blocking calls, errors, metrics, and more
Stars: ✭ 276 (-4.83%)
Mutual labels:  monitoring
Msgreader
C# Outlook MSG file reader without the need for Outlook
Stars: ✭ 286 (-1.38%)
Mutual labels:  email
Cryptowatch
🐦 Cryptocurrency price and account balance monitor
Stars: ✭ 283 (-2.41%)
Mutual labels:  monitoring
Kconmon
A Kubernetes node connectivity monitoring tool
Stars: ✭ 276 (-4.83%)
Mutual labels:  monitoring
Notifyutil
a better and more compatible api for android notification
Stars: ✭ 275 (-5.17%)
Mutual labels:  notification

External Libraries

matplotlib
numpy
datetime
smtplib
amazonapi

Required Accounts

To do this you'll need two free accounts
1. Amazon Web Services
2. Google Mail

Sgn up for a product advertising account after you create your AWS credentials

Code Examples

Run Once for Initial Setup

from AmazonAlert import addProduct, dailyScan

# ----- Gmail Credentials -----------

# This gives your script access to your gmail account, may want to use a throwaway
# Make sure "Allow Access To Less Secure Apps" is turned on in gmail settings
EMAIL_SELF = '[email protected]'
EMAIL_PASSWORD = 'yourpassword'    

# If using a throwaway, adjust EMAIL_TO to your real email!
EMAIL_FROM = EMAIL_SELF     
EMAIL_TO = EMAIL_SELF
EMAIL_CREDENTIALS = [EMAIL_SELF, EMAIL_PASSWORD, EMAIL_FROM, EMAIL_TO]
 
# ----- Amazon Credentials -----------

AWS_ACCESS_KEY_ID = 'Your AWS Access Key ID'
AWS_SECRET_ACCESS_KEY = 'Your AWS Secret Access Key'
AWS_ASSOCIATE_TAG = 'Your AWS Associate Tag'
AWS_CREDENTIALS = [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG]        

# This file will hold all of our data
csvFile = 'priceHistory.csv'

# Before you start monitoring a product, add it to the data file
# For each product you add, you're also giving directions for a target price

# Xbox Wireless Controller
# Alert when current price drops at least 50%
addProduct('B01GW3H3U8', csvFile, -50, 'percentChange', AWS_CREDENTIALS)  

# Echo Dot
# Alert when current price drops at least 25%
addProduct('B01DFKC2SO', csvFile, -25, 'percentChange', AWS_CREDENTIALS) 

# Halo 5
# Alert when current price drops to at least $19.99
addProduct('B00DB9JV5W', csvFile, 19.99, 'desiredPrice', AWS_CREDENTIALS)

# You can also append new products at a later time to the same data file

priceHistory.csv

B01GW3H3U8|24.755
B01DFKC2SO|37.4925
B00DB9JV5W|19.99

Daily Monitoring of Prices

from AmazonAlert import addProduct, dailyScan

# ----- Gmail Credentials -----------

EMAIL_SELF = '[email protected]'
EMAIL_PASSWORD = 'yourpassword'    
EMAIL_FROM = EMAIL_SELF     
EMAIL_TO = EMAIL_SELF
EMAIL_CREDENTIALS = [EMAIL_SELF, EMAIL_PASSWORD, EMAIL_FROM, EMAIL_TO]
 
# ----- Amazon Credentials -----------

AWS_ACCESS_KEY_ID = 'Your AWS Access Key ID'
AWS_SECRET_ACCESS_KEY = 'Your AWS Secret Access Key'
AWS_ASSOCIATE_TAG = 'Your AWS Associate Tag'
AWS_CREDENTIALS = [AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG]        

# You should run this file on a dedicated server once or multiple times a day
# Personally, I run it daily at pythonanywhere.com
# Make sure all products have been properly initalized in the csvFile
# Otherwise they'll be skipped
# If any products fall below their target, you'll receieve an email!

def main():
    csvFile = 'priceHistory.csv'
    products = ['B01GW3H3U8', 'B01DFKC2SO', 'B00DB9JV5W']
    dailyScan(products, csvFile, AWS_CREDENTIALS, EMAIL_CREDENTIALS) 

if __name__ == '__main__':
    main()

Updated priceHistory.csv

B01GW3H3U8|24.755,2016-12-15|49.0
B01DFKC2SO|37.4925,2016-12-15|49.99
B00DB9JV5W|19.99,2016-12-15|24.78

Email Layout

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].