As a student longing for the best ways to look up courses, I decided to create a phone bot to facilitate the process using real past data.

What it does

The bot will find the average grade a professor has given for a specific course over all sections that the professor has taught in the past few years.

How I built it

I used the Twilio API to send response SMS messages to users once the user texted a particular course they wanted to know about and used Python's Beautiful Soup package to webscrape current semesters teaching the user's wanted course. I also used Python to parse the JSON of the past grade distributions.

Challenges I ran into

The JSON of the past grade distributions were not all exactly the same. For instance, one semesters coded the number of students who received an A in a class as a string while the other semesters coded the same value as an integer.

Accomplishments that I'm proud of

I'm proud of starting a project and subsequently having a working prototype of said product with only myself as the sole contributor.

What I learned

I learned how to use the Twilio API with the help of their guides as well as several new Python functions and methods to parse data.

What's next for Average Course Grader

Fix bugs, add more functionality, add pictures to users.

Share this project: