Coder Social home page Coder Social logo

splitwisetelegrambot's Introduction

SplitwiseTelegramBot

A telegram bot for managing Splitwise application from within Telegram.

๐Ÿค– SplitwizeBot

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

splitwisetelegrambot's People

Contributors

krnbatra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

niall3rs poiedk

splitwisetelegrambot's Issues

User connection problem

How can I connect user if I try to run it locally? I understood that we cant wait result in connect handler, but we need to prepare server's answer somewhere. I found database change only in start handler, but this code isn't reachable from connect hanlder. Could you explain what should I fix, because I am really confused now. Thank you!

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.