Skip to content

Telegram bot to parsing prices in several shops SPB and Moskow. Bot can send notification on change prices, available after subscribe on updated.

Notifications You must be signed in to change notification settings

remix9/applepricesbot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApplePricesBot

Travis codecov Contributions Welcome

Telegram bot for check prices on apple products in several shops SpB and Moscow

Build and Run

1.Prepare environment variable

APPLEPRICEPARCER_TELEGRAMUSERNAME - telegram bot name username;
APPLEPRICEPARCER_TELEGRAMTOKEN - telegram bot token;
APPLEPRICEPARCER_DBPATH - path to DB file.

2.Print docker commands

$ docker build -t applepricesbot:latest .

Do not forget insert values for APPLEPRICEPARCER_TELEGRAMTOKEN and APPLEPRICEPARCER_DBPATH:

$ docker run --rm \
-e APPLEPRICEPARCER_TELEGRAMUSERNAME='' \
-e APPLEPRICEPARCER_TELEGRAMTOKEN='' \
-e APPLEPRICEPARCER_DBPATH='/app/data/database.db' \
--mount=type=bind,source="$(pwd)"/data,target=/app/data \
--name applepricesbot applepricesbot:latest

Usage

Print /start command after running bot service.

TODO

  • tests;
  • internalization;
  • concurrent screening.

Patch

Welcome!

About

Telegram bot to parsing prices in several shops SPB and Moskow. Bot can send notification on change prices, available after subscribe on updated.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%