Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/chitranjan-gupta/flipkart-bot

Flipkart Product Price Tracker Telegram Bot
https://github.com/chitranjan-gupta/flipkart-bot

Last synced: about 1 month ago
JSON representation

Flipkart Product Price Tracker Telegram Bot

Awesome Lists containing this project

README

        

# Flipkart Product Price Tracking Telegram Bot.
## Description
Weary about continuously checking the decrease in the price of the product you want to purchase from Flipkart? Do not worry; The Flipkart bot will help you in achieving it. The Flipkart bot will check the price constantly. And if the price has decreased. Then it will send a notification on telegram.
## Run Live on Telegram
* [Flipkart Bot](https://telegram.dog/FlipkartPriceRangeBot)
## Installation Guide
### Prerequisites
* [git](https://git-scm.com/)
* [python](https://www.python.org/) (3.7 or higher)
### Local Setup
> The setup is given here is for a linux environment.
* Clone the project
```bash
$ git clone https://github.com/chitranjan-gupta/Flipkart-Bot.git
```
* Go to the project directory
```bash
$ cd Flipkart-Bot
```
* Create and activate virtual environment
```bash
$ python3 -m venv venv
$ source venv/bin/activate
```
* Install python dependencies
```bash
$ pip3 install -U -r requirements.tt
```
### Environment Variables
Properly setup the enviroment variables or populate bot.py with the values. Setting the environment variables is advised as some of the values are sensitive data, and should be kept secret.
* ```BOT_TOKEN``` - Telegram Bot Token. Obtain your bot token from [Bot Father](https://t.me/BotFather).
> To know how to add the token visit [wiki](https://github.com/chitranjan-gupta/Flipkart-Bot/wiki/Installation#steps-to-add-the-token-value-in-the-environment-variable-of-your-system-1).
### Run the bot
```bash
$ python3 bot.py
```
Now go and ```/start``` the bot. If everything went fine, the bot will respond with welcome message.
* Now send the link of product to bot and send the command `/tstart` to start tracking.
## Supported commands
* ```/start``` - Command to start the bot or check whether the bot is alive.
* ```/tstart``` - Command to start the tracker.
* ```/tstop``` - Command to stop the tracker.
## Dependencies
* BeautifulSoup
* requests
* aiogram
* lxml
## Supported Environment
* [Linux](https://github.com/chitranjan-gupta/Flipkart-Bot/wiki/Installation#linux)
* [Windows](https://github.com/chitranjan-gupta/Flipkart-Bot/wiki/Installation#windows)
* [Android (Termux)](https://github.com/chitranjan-gupta/Flipkart-Bot/wiki/Installation#android)
## Documentation
Read the documentation on [wiki](https://github.com/chitranjan-gupta/Flipkart-Bot/wiki).
## License
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)