replace-bot/backup/google_parser
2023-09-04 20:55:37 +03:00
..
parser Update parser 2023-09-04 20:55:37 +03:00
example_config.ini Init commit 2022-02-16 17:13:44 +02:00
README.md Init commit 2022-02-16 17:13:44 +02:00
requirements.txt Init commit 2022-02-16 17:13:44 +02:00
setup_google_docs_api.py Init commit 2022-02-16 17:13:44 +02:00

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!