-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Bonbast2TG | ||
|
||
Bonbast2TG is a project that fetches exchange rates from Bonbast and sends updates to a Telegram channel. | ||
|
||
## Features | ||
|
||
- Fetches exchange rates from Bonbast | ||
- Sends updates to a specified Telegram channel | ||
- Configurable update intervals | ||
|
||
## Installation | ||
|
||
1. Clone the repository: | ||
```sh | ||
git clone https://github.com/yourusername/bonbast2tg.git | ||
``` | ||
2. Navigate to the project directory: | ||
```sh | ||
cd bonbast2tg | ||
``` | ||
3. Install the required dependencies: | ||
```sh | ||
pip install -r requirements.txt | ||
``` | ||
|
||
## Configuration | ||
|
||
1. Create a `.env` file in the project directory with the following content: | ||
```env | ||
TELEGRAM_BOT_TOKEN=your_telegram_bot_token | ||
TELEGRAM_CHAT_ID=your_telegram_chat_id | ||
``` | ||
|
||
## Usage | ||
|
||
Run the script to start fetching exchange rates and sending updates: | ||
```sh | ||
python main.py | ||
``` |