GET /api/${campus}/subjects
GET /api/${campus}/subjects/${subject}
GET /api/${campus}/courses
GET /api/${campus}/courses/${subject}
GET /api/${campus}/courses/${subject}/${courseNumber}
GET /api/${campus}/sections-info
GET /api/${campus}/sections-info/${subject}
GET /api/${campus}/sections-info/${subject}/${courseNumber}
GET /api/${campus}/sections-info/${subject}/${courseNumber}/${section}
GET /api/${campus}/grades/${session}/${subject}
GET /api/${campus}/grades/${session}/${subject}/${courseNumber}
GET /api/${campus}/grades/${session}/${subject}/${courseNumber}/${section}
Parameter | Type | Description |
---|---|---|
campus |
string |
Required. UBC Campus. Example: UBCO, UBCV |
session |
string |
Required. Session the course was offered. Example: 2020W, 2019S, 2019W |
subject |
string |
Required / Optional. Course subject. Required for fetching historic grades, optional anywhere else. Example: COSC, CPSC, CHEM. |
courseNumber |
string |
Optional. Course number. Example: 111, 121, 530A |
section |
string |
Optional. Course section. Example: 101, 001, 404A |