{"library":"spreadsheetbot","title":"SpreadsheetBot","type":"library","description":"A Python library to build Telegram bots where the bot logic and data are managed via Google Spreadsheets. Version 2.5.2, actively maintained. Targets Python >= 3.11. Release cadence: irregular.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spreadsheetbot"],"cli":null},"imports":["from spreadsheetbot import SpreadsheetBot","from spreadsheetbot import Config","from spreadsheetbot import SpreadsheetHandler"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/twobrowin-study/spreadsheetbot-lib","docs":null,"changelog":null,"pypi":"https://pypi.org/project/spreadsheetbot/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spreadsheetbot import SpreadsheetBot\nfrom spreadsheetbot import Config\n\n# Configure with your Google Sheets ID and credentials\nconfig = Config(\n    spreadsheet_id='1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgVE2upms',\n    credentials_file='service_account.json'\n)\n\n# Create bot instance\nbot = SpreadsheetBot(config)\n\n# Start polling (uses Telegram bot token from environment TELEGRAM_BOT_TOKEN)\nbot.run()","lang":"python","description":"Minimal example to start a Telegram bot driven by a Google Spreadsheet. Requires TELEGRAM_BOT_TOKEN environment variable and a service account JSON file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}