Giter VIP home page Giter VIP logo

usd-rub-currency-bot's Introduction

Telegram Bot: Dollar-to-Ruble Exchange Rate Bot

This Telegram bot provides users with the current exchange rate of the US Dollar to the Russian Ruble, taking into account the predefined commission. The bot is built using Python and aiogram library, and the project uses Poetry for environment management. Firebase is used as the database for storing data.

Prerequisites

Before running the bot, ensure you have the following prerequisites installed:

  • Python (version 3.11 or higher)
  • Poetry (version 1.6.1 or higher)
  • Firebase account and project
  • Telegram Bot Token

This Telegram bot provides users with the current exchange rate of the US Dollar to the Russian Ruble, taking into account the predefined commission. The bot is built using Python and aiogram library, and the project uses Poetry for environment management. Firebase is used as the database for storing data.

Installation

  1. Clone the repository:

    git clone [email protected]:NNakleskin/USD-RUB-currency-bot.git
    
  2. Navigate to the project directory:

    cd USD-RUB-currency-bot
    
  3. Install dependencies using Poetry:

    poetry install
    
  4. Create a new file named .env in the project directory and add the following variables:

    BOT_TOKEN=<YOUR_TOKEN>
    FIREBASE_URL=<YOUR_URL>
    
    Replace `<YOUR_TOKEN>` with your Telegram Bot Token obtained from the BotFather. Replace `<YOUR_URL>` with the URL of your Firebase project.
    
    

Firebase Configuration

Ensure you have set up a Firebase project and enabled the Firestore database. The FIREBASE_URL in the .env file should point to the URL of your Firebase project.

Contributing

Contributions to this project are welcome. If you find any issues or want to add new features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

usd-rub-currency-bot's People

Contributors

nnakleskin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.