GithubHelp home page GithubHelp logo

price_tracker's Introduction

Price Tracker

Overview

Price Tracker is a very simple tracker of Amazon product prices.

In a config (see request.example) add your AWS credentials, Amazon product ids that you want to track and your Gmail credentials.

This might eventually turn into a useful webapp or something. Knowing me, probably not. So use command line.

Sending g-emails with smtplib.

What you'll need

Installation

  • Clone this project
  • Install all the prerequisites
  • Rename request.example file to 'request'
  • Edit request file with your list of Amazon products and product IDs, your AWS credentials, Amazon associates tag, and Gmail address and password
  • Run price_tracker.py occasionally or set up a cron job to run it automatically for you
  • If using crobjob:
$ crontab -e
# This example will run the price tracker every hour
0 */1 * * * /absolute/path/to/price_tracker.py --file "/absolute/path/to/request"

TODO:

Not in any particular order

  • accept args from the command line for the following options:
    • path to request file
    • clean up redis data
    • first run
    • no spreadsheets
    • email only when price decreased
    • clear all data from redis and/or gdrive
  • improvements to spreadsheet editing:
    • instead of clearing out spreadsheet every time append date/price columns to the existing spreadsheet - gdata api limitation
    • create spreadsheet instead relying on the user to do it - gdata api limitation
  • provide Vagrantfile/manifest for users who would prefer to run price_tracker from a VM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.