This repository was archived by the owner on Aug 4, 2022. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
When checking the schedule, one may be interested in the corresponding course page on NTULearn and the exactly where the venue is.
The course page can be linked via https://ntulearn.ntu.edu.sg/webapps/blackboard/execute/launcher?type=Course&id={course_id}
Query venues on NTU Map http://maps.ntu.edu.sg/maps#q:{venue}
Describe the solution you'd like
- Map from the existing NTU course code to NTULearn (a.k.a Blackboard Learn, or BBLearn for short) compatible. Luckily BBLearn exposes its courses API to achieve this:
Sample response from the API (need to login to NTULearn):
https://ntulearn.ntu.edu.sg/learn/api/public/v1/courses?sort=created(desc)
The response potentially contains course data dating back to 2010. To view more response, refer to the "nextPage" attribute from the JSON
We can then persist id data from the API, group by course_id (e.g. CE3005) and term (e.g. 19S1), searchable by activity (e.g. LEC, TUT, LAB). Which gives us the possibility to link to the page.
- Create clickable link on Course Schedule Cards, link to NTULearn and NTU Map.
Additional context
- The course activity name on BBLearn may not be consistent with ones found on NTU Schedule.
- All available Blackboard Learn APIs
https://developer.blackboard.com/portal/displayApi