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.
- SynneK1337 for inspiration (librus-synchro)
- selfisekai for creating an unofficial UONET+ Vulcan documentation (uonet-api-docs)
- googleapis for creating Google Calendar API library
- wulkanowy for creating UONET+ request signing library (uonet-request-signer)
- psf for creating Requests library (requests)
pip install -r requirements.txt
- Open the Google API console
- Click
New project
- Enter a name and click
Create
- Enter here
- Click
Create credentials
- From a opened list box select
OAuth client ID
- Select
Other
, give a custom name and then clickCreate
- Close the dialog window which appeared a while before
- Download user login data file, rename it to
credentials.json
, create a directory namedconfig
and put this file there
- 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>
- 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
)