Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 1.19 KB

README.md

File metadata and controls

22 lines (14 loc) · 1.19 KB

google translate from image

image

  1. Install needed libraries and modules

    pip install asyncio datetime os random re time python-telegram-bot google-auth google-api-python-client openai python-dotenv

  2. Need to create a progect in https://console.cloud.google.com/apis/credentials?project=calendar-to-telegram and add ## Service Accounts and download .json file see: https://stackoverflow.com/questions/46287267/how-can-i-get-the-file-service-account-json-for-google-translate-api

  3. Create calendar in https://calendar.google.com/calendar/ and Share with user Service Accounts email / like [email protected] image

  4. Add events in created calendar like image

  5. Create telegram bot - add him to channel / group or supergroup

  6. Register and create Key https://platform.openai.com/api-keys

  7. Add needed keys in script and run