This commit is contained in:
Kifixo
2021-02-23 20:16:40 +01:00
2 changed files with 5 additions and 5 deletions

2
.env
View File

@@ -1,2 +1,2 @@
TELEGRAM_CHANNEL_ID=@wallapopaler TELEGRAM_CHANNEL_ID=@Your_Telegram_Channel
TELEGRAM_TOKEN=Your Telegram Token TELEGRAM_TOKEN=Your Telegram Token

View File

@@ -3,8 +3,8 @@ Periodically checks Wallapop for new articles based on specified parameters and
### Setup 🔧 ### Setup 🔧
``` ```
pip install -U python-dotenv pip3 install -U python-dotenv
pip install python-telegram-bot pip3 install python-telegram-bot
``` ```
You will also need to change .env parameters: You will also need to change .env parameters:
@@ -16,7 +16,7 @@ TELEGRAM_TOKEN=Your Telegram Token
### Usage ### Usage
``` ```
$ python alert.py -h $ python3 alert.py -h
usage: alert.py [-h] --name NAME [--latitude LATITUDE] [--longitude LONGITUDE] [--condition CONDITION] usage: alert.py [-h] --name NAME [--latitude LATITUDE] [--longitude LONGITUDE] [--condition CONDITION]
[--min MIN_PRICE] [--max MAX_PRICE] [--min MIN_PRICE] [--max MAX_PRICE]
@@ -34,7 +34,7 @@ optional arguments:
Example: Example:
``` ```
$ python alert.py --name ps5 --condition new --min 400 --max 600 $ python3 alert.py --name ps5 --condition new --min 400 --max 600
``` ```