Skip to content
This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
/ ubctime-api Public archive

UBC Time's API. Fetch courses, subjects, sections-info, and historic grades.

Notifications You must be signed in to change notification settings

rjworks/ubctime-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

API Reference

Subjects

Get all subjects

  GET /api/${campus}/subjects

Get a subject

  GET /api/${campus}/subjects/${subject}

Courses

Get all courses

  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}

Sectons Information

Get sections information

  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}

Parameters

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

About

UBC Time's API. Fetch courses, subjects, sections-info, and historic grades.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published