icssc / anteater-api

API that provides easy access to public data from UC Irvine. Developed for Anteaters, by Anteaters.
https://anteaterapi.com/reference
GNU Affero General Public License v3.0
3 stars 0 forks source link

Add support for WebSoc "Web" column #41

Open ecxyzzy opened 18 hours ago

ecxyzzy commented 18 hours ago

Expected Behavior

WebSoc section objects should contain the "Web" column that WebSoc returns. The "Web" column, if populated, contains a link to the course's syllabus page on their Canvas.

Possible Solution

We will not scrape the Canvas page since most will be gated behind a Shibboleth login, but just having the link will enable students to click on them and see them.

Will need to modify libwebsoc-next and the websocSection table schema. Should also consider storing a table that associates course numbers with a set of links for future.

Context

Having syllabus data could also benefit PeterPortal in the future.

js0mmer commented 18 hours ago

I actually have a side project where I tried this out. But yes, this could be cool addition for PeterPortal to have links to past syllabi for courses.

One thing to note, I think the syllabus links die at some point. Haven't figured out the lifespan for them.