Giter Site home page Giter Site logo

steampricetracker's Introduction

Amazon Price Tracker

Keep track of multiple amazon products. As long as your computer runs this app every day, you could see how much each product's price increases or decreases over time.

Installation

You will need python 3+ and pip.

Google's Credentials

Watch the following video (Up to 3:51) to get your credentials and connect to a Spreadsheet. https://www.youtube.com/watch?v=cnPlKLEGR7E&t=409s

Be sure to put your 'creds.json' in the same folder as 'app.py'. It's important to make sure that the name of the credentials folder is exactly 'creds.json'.

Install

In your terminal, Install:

pip install gspread oauth2client schedule bs4

gspread and oauth2client are from google and are required if you want to access google sheets.

schedule will update your google spreadsheet at midnight everyday (assuming you have this app running 24 hours 7 days a week). If you don't plan on running the app 24/7, then dont install schedule, remove the line on the bottom of app.py that uses schedule along with the forever loop, and then add RunApp() at the very bottom. This will update your google spreadsheet every time you run the app.

Config

Create a file named 'eVars.py' in the same folder that app.py is in.

inside of 'eVars.py', type in:

SPREADSHEET_NAME =  "AmazonPriceTracker"

If your spreadsheet has a different name, you can change "AmazonPriceChecker" but make sure the variable name stays the same.

Usage

On your spreadsheet, create 2 pages. The first page will contain the list of items you want to track. The second page will contain your data.

Here is an example of my sheet one:

spreadsheet

In case you were wondering, "owner" is used in case you would like to track an amazon product for someone else. You can put their name as "owner" to tell them apart from the products you are tracking.

Another thing, my app looks for SPECIFIC boxes so make sure that "Owner" is column A, "Link" is column B and so on. Also, you can make the list of items as long as you would like AS LONG as you start the list from row 3 as I did.

Remember not to reorder the list.

Here is an example of my sheet two:

spreadsheet2

DON'T type anything on your sheet 2. My app will do everything but if you want to decorate your sheet in a way where a certain row will be bold or change a certain color like I did, then you can do that yourself after running the app for the first time.

steampricetracker's People

Contributors

lucidreline avatar

Watchers

 avatar  avatar

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.