Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

About

Generating greetings in Telegram from Google Calendar events using OpenAI API

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

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 telegram@calendar-to-tel-bot.iam.gserviceaccount.com 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

About

Generating greetings in Telegram from Google Calendar events using OpenAI API

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages