Skip to content

gvard/gcal-daily-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gcal-daily-scheduler

Daily schedule with Google Calendar, visualized using Flask

This python application is designed to work with the E&S Digistar interface, but can be easily used independently.

Note that the application uses JavaScript code to highlight past and future events (and for something else), so support for JS is desirable.

Dependencies

Installation

pip install --upgrade Flask google-api-python-client google-auth-httplib2 google-auth-oauthlib pyTelegramBotAPI vk-api

For the application to work, you need:

  • Get the credentials as json file, see Authorize credentials for a desktop application.
  • Specify the path to this json file in the source code: cal.py, FILE_PATH variable.
  • Specify the сalendar ID from the Google Calendar settings: cal.py, CAL_ID variable.
  • If necessary, specify the IP address and port in flask_cal.py, HOST and PORT variables.
  • Launch the application from the command line or using a shortcut on the Windows desktop.

Additionally, you can use a Telegram or VK bot for various requests. The bot starts and runs simultaneously with the Flask application. To use the bot, specify your token in flask_cal.py, TG_TOKEN or VK_TOKEN variable. You can disable the bot by setting the TG_BOT or VK_BOT variable to False.

More information on how to interact with the Google Calendar API can be found at:

Releases

No releases published

Packages

No packages published