Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 2.75 KB

File metadata and controls

47 lines (37 loc) · 2.75 KB

THIS SCRIPT IS OUTDATED FOR THE MOMENT AND WILL NOT WORK

vulcan-exams-calendar-sync

A script made for synchronising exams from the UONET+ Vulcan online grade book with Google Calendar. Made basing on an existing unofficial documentation of the UONET+ Vulcan online grade book available here: https://gitlab.com/erupcja/uonet-api-docs.

forthebadge

Acknowledgements:

Requirements:

Usage:

Dependencies installation

pip install -r requirements.txt

Creating a Google API project:

Downloading API credentials

  • Enter here
  • Click Create credentials
  • From a opened list box select OAuth client ID
  • Select Other, give a custom name and then click Create
  • Close the dialog window which appeared a while before
  • Download user login data file, rename it to credentials.json, create a directory named config and put this file there

Register the script

  • Open the UONET+ Vulcan website, log in and choose Dostęp mobilny (Mobile access) section
  • Click Zarejestruj urządzenie mobilne (Register the mobile device)
  • Run the configure.py script with proper parameters: python3 configure.py <token> <symbol> <PIN>

How to use the script

  • Simply run the main.py script. At the first launch, you will be prompted to log in into your Google account - the link to authentication will appear in the console.
  • After the first launch you can add it to scheduled tasks (ex. cron)