GET /api/${campus}/subjects
GET /api/${campus}/subjects/${subject}
GET /api/${campus}/courses
Get courses of a given the subject
GET /api/${campus}/courses/${subject}
Get the course of a given subject and course number
GET /api/${campus}/courses/${subject}/${courseNumber}
GET /api/${campus}/sections-info
Get sections information of a given subject
GET /api/${campus}/sections-info/${subject}
Get sections information of a given subject and course number
GET /api/${campus}/sections-info/${subject}/${courseNumber}
Get section information of a given subject, course number, and section
GET /api/${campus}/sections-info/${subject}/${courseNumber}/${section}
Historic Grades (thanks to UBCGrades.com)
Get historic grades of a given subject
GET /api/${campus}/grades/${session}/${subject}
Get historic grades of a given subject and courseNumber
GET /api/${campus}/grades/${session}/${subject}/${courseNumber}
Get historic grades of a given subject, courseNumber, and section
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