Skip to content

pdelteil/amazonpricealertTelegramBot

Repository files navigation

amazonpricealertTelegramBot

Python program to watch price changes for Amazon products. It displays updates in a Telegram bot. The user can add/remove watched items using only the bot

How to use

Telegram

  1. Create a Telegram Bot (More details)
  2. Create a group and add the bot to it.
  3. Make this request: curl https://api.telegram.org/bot{TELEGRAM_TOKEN}/getUpdates

From here you will get the CHAT_ID. If it doesn't work, take a look here.

  1. Add both previous tokens to the file config.ini.example and save it as config.ini

Python

  1. clone this repo

    git clone https://github.com/pdelteil/amazonpricealertTelegramBot.git

  2. Install python modules

    pip -r requirements.txt

  3. Run it doing

    python amazon.price.alert.py & python actions.bot.py

Using the bot

  1. /add_item: Add an item to the watch list.

    Syntax: /add_item NAME FOR THE ITEM, URL

image

  1. read_items

    image

  2. /remove_item: Removes an item from the watch list.

    Syntax: /remove_item id

    image

Supported ecommerce sites

About

Python program to watch prices changes for Amazon products. It displays updates in a Telegram bot. The user can add/remove watched items using only the bot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages