Open sam1rm opened 8 years ago
https://www.uguru.me/api/v1/universities/1632/popular_courses
//before
getCourses: function(uni_id) {
return Restangular
.one('universities', uni_id).customGET('courses');
},
Add this one
getPopularCourses: function(uni_id) {
return Restangular
.one('universities', uni_id).customGET('popular_courses');
},
I tested using Tufts -- the data should be pretty accurate and the data size different is significant
Two methods to resolve
Nick
Samir
Gabrielle