Skip to content

Latest commit

 

History

History
121 lines (81 loc) · 1.79 KB

README.md

File metadata and controls

121 lines (81 loc) · 1.79 KB

PriceWatch

Simple command-line tool to get prices for the products you want to buy. It keeps a log of the prices and tells you if a product is on sale.

Installation

Easiest way to use PriceWatch is to create an alias for index.php in your ~/.bashrc or ~/.zshrc like this:

alias pricewatch="php /path/to/your/pricewatch/index.php"

Then run:

pricewatch build

It creates the stores.json file containing all the store information.

Usage

Add product

pricewatch add <url>

Get prices

pricewatch

Get prices in JSON format

pricewatch json

Remove product

pricewatch remove <id|url>

is the list item number in pricewatch results

Note: when removing several products with ID, please note that each product's ID is updated on every product removal

Swap product places in list

pricewatch swap <id> <id>

is the list item number in pricewatch results

Display product info

pricewatch info <id>

is the list item number in pricewatch results

List logged product prices

pricewatch log <id>

is the list item number in pricewatch results

List added products

pricewatch products

List supported stores

pricewatch stores

Build store information

pricewatch build

Getting help in terminal

pricewatch help

Supported stores

  • audiokauppa.fi
  • discshop.fi
  • gigantti.fi
  • hifihuone.fi
  • hifistudio.fi
  • jimms.fi
  • konsolinet.fi
  • maxgaming.fi
  • multitronic.fi
  • pelaajashop.fi
  • proshop.fi
  • puolenkuunpelit.com
  • verkkokauppa.com
  • vpd.fi

You can add more stores to stores.php and run:

pricewatch build