Get Your Freaking Timetable
Report Bug
·
Request Feature
Gets your timetable from ERP and adds it to your Google Calendar or gives you an ICS file which you can add in any common calendar application.
Note All updates to this repo should reflect, with appropriate refactorisation, in gyft-serve
To set up a local instance of the application, follow the steps below.
The following prerequisites are required to be installed for the project to function properly:
Now that the environment has been set up and configured to properly compile and run the project, the next step is to install and configure the project locally on your system.
git clone --depth 1 https://github.com/metakgp/gyft
cd gyft
pip install -r requirements.txt
python3 gyft.py
Now you can choose between 2 options, which will be prompted to you:
credentials.json
and save it as client_secret.json
to the current directory by following the Step 1 from heregyft.py
with the --del-events
flag:
python3 gyft.py --del-events
.ics
) to which the ICS file will be written, use the --output
flag.
python3 gyft.py --output autumn_2023.ics
This project utilizes the iitkgp-erp-login package to handle ERP login functionality.
The following procedure is to be followed each new semester by the maintainer for updating GYFT to work properly.
(YYYY, MM, DD, HH, MM)
.Please read CONTRIBUTING.md guide to know more.