Place your otp.db obtained from the app in the data directory, then just run the otp.py script.
Python 3.11 does not support SSLv3, please use a older version for the time syncing to work.
You should also install the packages listed in requirements.txt. A virtual environment is recommended.