ufosc / SwampScheduler

The future of scheduling is here.
https://osc.rconde.xyz
GNU Affero General Public License v3.0
21 stars 45 forks source link

Added basic client for Rate My Professor #3

Closed ThundR67 closed 2 years ago

ThundR67 commented 2 years ago

I have created a basic client

ThundR67 commented 2 years ago

Also, There is no way to directly search for a classe's rating based on teacher name and class code. First, teacher's id need to be searched from their name. Then, teacher's rating will be pulled. Then, the specific ratings on that class code will be used. However, we can cache teacher's name to their ID in a local database to increase speeds.

RobertConde commented 2 years ago

I reformatted what you send over. Make sure it's still fine. I'm still reviewing the code.

RobertConde commented 2 years ago

Also, did you put your personal auth token?

RobertConde commented 2 years ago

I really like the API however I think we're going to make the browser do the heavy lifting when it comes to data retrieval (i.e. getting the RMP ratings). Here is something I found... https://www.npmjs.com/package/@mtucourses/rate-my-professors

ThundR67 commented 2 years ago

I actually did base my project from the link you sent

RobertConde commented 2 years ago

Going to merge so that we have this as an option. :)