krnbatra / SplitwiseTelegramBot

Telegram Bot for managing Splitwise

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SplitwiseTelegramBot

A telegram bot for managing Splitwise application from within Telegram.

What can this bot do?

The current version supports the following commands.

  1. connect: Connects your Splitwise account
  2. list_expense: List expenses from your Splitwise account
  3. create_expense: Creates new expense in your Splitwise account
  4. settle_expense: Settles expense in your Splitwise account

Use /connect to connect to your Splitwise account.

✨ Demo

Getting started

Setting up the local instance

Install the dependencies using:

   pip install -r requirements.txt

Set up the value of environment variables

   * BOT_TOKEN = Ask @BotFather for this token
   
   Register your app on Splitwise to get the value of next 2 tokens
   * CONSUMER_KEY
   * CONSUMER_SECRET
   
   * REDIS_URL = 127.0.0.1:6379

Make value of WEBHOOK = False in this file.

Finally run

   python main.py

Author

👤 Karan Deep Batra

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support

Give a ⭐️ if you liked this project!

Splitwise Telegram Bot - Telegram Bot for managing your Splitwise account. | Product Hunt Embed

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Telegram Bot for managing Splitwise

License:MIT License


Languages

Language:Python 100.0%