gcal-daily-scheduler

0

Описание

A set of tools for retrieving and visualizing schedule events taken from Google/Yandex calendar, visualized using Flask

Языки

  • HTML61,1%
  • Python36,6%
  • CSS2,3%
README.md

A set of tools for retrieving and visualizing schedule events

Daily/weekly schedule with Google Calendar or Yandex Calendar, visualized using Flask

The python application is originally 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

For Yandex Calendar

For Telegram or VK bot

Installation

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: