# MyCoursesCalendar
This application improves the ics file given by MyCourses by making the event name more descriptive (e.g. "T-61.3050 L1, T1 (Machine Learning: Basic Principles)"). The output file can be imported to Google Calendar for example.

## Installation
Before using this script you should install BeautifulSoup (pip install beautifulsoup4) and iCalendar (https://github.com/collective/icalendar/blob/master/docs/install.rst) python packages, and clone this repository to your local machine.

## Usage
Edit the calendar url to point to your personal calendar that you can find from the MyCourses web page. When you run this script, an improved version of that ics file will be generated in the same folder with the script.

# MyCoursesCalendar
This application improves the ics file given by MyCourses by making the event name more descriptive (e.g. "T-61.3050 L1, T1 (Machine Learning: Basic Principles)"). The output file can be imported to Google Calendar for example.

## Installation
Before using this script you should install BeautifulSoup (pip install beautifulsoup4) and iCalendar (https://github.com/collective/icalendar/blob/master/docs/install.rst) python packages, and clone this repository to your local machine.

## Usage
First, get your personal calendar URL from https://mycourses.aalto.fi/calendar/export.php by choosing a suitable time period and clicking the "Get subscription URL" button. Then, go to the same folder with this script and execute the following command:
<pre>python tunkki.py --url your-url-here</pre>

By default, this script will ignore the problem sessions. The reason for this is that the original calendar includes all the possible sessions instead of just the ones that you have signed up for, so your calendar will get filled with unwanted events. If you really want to include the problem sessions also, just add the parameter --include-problem-sessions after the command.

The output file will be output.ics by default, and it can be changed with the parameter --output anotherfile.ics .

Update the usage section of readme
Update the usage section of readme