Mutates the original timetable object to parse it. This method is using the official PRONOTE way to parse the timetable.
decodeTimetable()
Simply because it may be too overkill and not everyone would want this. We must provide the data as is and let the user decide what to do with it.
That's why we provide this helper function to parse the timetable.
The current session handle.
The timetable to parse.
The options to parse the timetable.
Nothing.
Mutates the original timetable object to parse it. This method is using the official PRONOTE way to parse the timetable.
Why this isn't the responsibility of the internal
decodeTimetable()
?Simply because it may be too overkill and not everyone would want this. We must provide the data as is and let the user decide what to do with it.
That's why we provide this helper function to parse the timetable.