replace-bot/backup/google_parser/README.md
2022-02-16 17:13:44 +02:00

939 B

Installing

Create VirtualEnv

python -m venv venv

Activate VirtualEnv

source venv/bin/activate

Installing requirements

pip install -r requirements.txt

**Rename example_config.ini -> config.ini Enter Telegram Bot API Token on config.ini

Optional: setup webhook, telegram bot api server, etc.

Enter DocumentID (How to get DocumentID)

Create project and enable Docs API

Put credentials.json (How to get credentials.json)**

Run setup docs parser

python setup_google_docs_api.py

Follow Setup Wizard Open web page Login your account If you get error, setup redirect in Project

Running

python bot.py

Run on docker: Supported!