Skip to content

ayuhsya/gyft

 
 

Repository files navigation

gyft

Get Your Freaking Timetable

About

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.

instructions

How to use the program?

  • Step 1: Get your timetable from ERP:

    $ python gyft.py -user <ROLL_NUMBER>

    Enter your password & security answer when prompted.

    Your timetable will be saved in data.txt. Make any changes required appropriately in data.txt.

  • Step 2: Decide whether you want to add the events to Google Calendar or generate an ICS file from the data.

    Adding to Google Calendar requires an Internet connection

    ICS files are compatible with almost all Calendar applications (including the iOS calendar application, Sunrise etc)

  • Step 2(a): If you decide on adding your events to your Google Calendar:

    • Step (i): Get your client_secret.json and save it to the current directory by following the Step 1 from here.

    • Step (ii): Now, run:

      $ python add_events.py
    • MISC: To delete all the recurring events (It deletes all the events having summary: Class Of *):

      $ python del_events.py
  • Step 2(b): If you decide on generating an ICS file:

    • Step (i): Run the command:

      $ python generate_ics.py
    • Step (ii): Open your calendar application and import this ICS file into it.

License

GPLv3.

About

Get Your Freaking Timetable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%