Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Link to NTULearn and NTU Maps in Scheduler #110

Open
zhangks98 opened this issue Mar 15, 2019 · 1 comment
Open

Link to NTULearn and NTU Maps in Scheduler #110

zhangks98 opened this issue Mar 15, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@zhangks98
Copy link
Collaborator

zhangks98 commented Mar 15, 2019

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

  1. 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.

  1. Create clickable link on Course Schedule Cards, link to NTULearn and NTU Map.

Additional context

  1. The course activity name on BBLearn may not be consistent with ones found on NTU Schedule.
  2. All available Blackboard Learn APIs
    https://developer.blackboard.com/portal/displayApi
@zhangks98 zhangks98 added the enhancement New feature or request label Mar 15, 2019
@liumcse
Copy link
Owner

liumcse commented Mar 15, 2019

@chenchongsong See this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants