Bonbast2TG is a project that fetches exchange rates from Bonbast and sends updates to a Telegram channel.
- Fetches exchange rates from Bonbast with (https://github.com/SamadiPour/bonbast)
- Sends updates to a specified Telegram channel
- Configurable update intervals
- Clone the repository:
git clone https://github.com/yourusername/bonbast2tg.git
- Navigate to the project directory:
cd bonbast2tg
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.env
file in the project directory with the following content:TELEGRAM_BOT_TOKEN=your_telegram_bot_token TELEGRAM_CHAT_ID=your_telegram_chat_id
Run the script to start fetching exchange rates and sending updates:
python main.py