Track and notify prices
-
install dependencies
composer install --no-dev -
copy and configure .env
cp .env.example .env, EX:DB_TYPE=sqlite DB_NAME=./database.db MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USER=my@gmail.com MAIL_PASS=MY_PASSWORD MAIL_ENCRYPTION=tls MAIL_FROM=my@gmail.com MAIL_TO=my@gmail.com
-
migrate tables
./trify migrate -
add conjob
# Track PS Store discount 5 4 * * 2 /home/myhome/trify/trify track:go
- store.playstation.com
- api-savecoins.nznweb.com.br
./trify track:add https://store.playstation.com/zh-hant-tw/product/HP9000-CUSA07413_00-00000000GODOFWAR ./trify track:target 1 5000 ./trify track
---- ------------------------ ------- ----------- --------------------- --------------------- ---------------------------------------------------------------------------------------
id title price old_price updated_at created_at url
---- ------------------------ ------- ----------- --------------------- --------------------- ---------------------------------------------------------------------------------------
1 2018-08-26 17:18:43 https://store.playstation.com/zh-hant-tw/product/HP9000-CUSA07413_00-00000000GODOFWAR./trify track:go
./trify track
---- ------------------------ ------- ----------- --------------------- --------------------- ---------------------------------------------------------------------------------------
id title price old_price updated_at created_at url
---- ------------------------ ------- ----------- --------------------- --------------------- ---------------------------------------------------------------------------------------
1 God of War 1690 2018-08-26 17:24:35 2018-08-26 17:18:43 https://store.playstation.com/zh-hant-tw/product/HP9000-CUSA07413_00-00000000GODOFWAR./trify track:del 1- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
TODO: Write history
TODO: Write credits
TODO: Write license