I have finally got the chance to experiment with google apps script, and decided to use it to make my school life easier.
I used google apps script along with the calendar api to create a web app that can auto generate my class schedule based on another calendar provided by my school.
The script first pulls all the events from an existing calendar given a certain range for the date, and then it generates a new calendar. The new calendar is then populated day by day with the correct schedule for that given day.
Here is the generated calendar:
Here is the web app.