viandika / aspire-telegram-bot

Telegram bot for Aspire Budgeting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aspire-telegram-bot

A telegram bot which intends to work with Aspire Budgeting. Currently, it only supports adding new transactions. More features will be added progressively.

Usage

Copy and rename config.toml.example to config.toml file needs to be filled in with your credentials.

  1. Follow this gspread docs to get your API key and share spreadsheet access to the service account. Add the file path to gsheet_api_key_filepath
  2. Copy your Aspire Budgeting spreadsheet key (obtained from the url e.g. 1jUkhoC3CbaO0H4H01iYtTNPf1-ybi0UQ4aZ2aBG7q40) to gsheet_worksheet_id
  3. Get your telegram API key from BotFather and add it to telegram_token
  4. Set restrict_access to true if you want to limit access to certain users. If so, add the telegram user ids to list_of_users

Run the bot with:

python main.py

About

Telegram bot for Aspire Budgeting

License:MIT License


Languages

Language:Python 100.0%