Beebeeoii / lominus

NUS Canvas file sync
MIT License
60 stars 7 forks source link

feat: used dashboard to list modules #98

Closed RussellDash332 closed 1 year ago

RussellDash332 commented 1 year ago

Currently, the Canvas modules from the past semesters are not removed just like how LumiNUS works. A workaround is to use the dashboard/dashboard_cards API endpoint to get the list of modules.

By default, if nothing is starred, Canvas will list all the modules ever taken, so there is no significant behaviour change. Otherwise, one can star the modules at https://canvas.nus.edu.sg/courses and only the starred modules will be listed by the API response.

Beebeeoii commented 1 year ago

looks good ! thanks for this !