The Course object represents each course. For example, UBC's CPSC 110.
Note that a course that does not exist in the database will still return a Course object, but only with the title property appropriately returned. For example, Principles of Mathematics 12 below.
{
"data": {
"_id": "61117dd676d7aee5960956d3",
"code": 121,
"subject": "CPSC",
"coRequisites": [
{
"oneOf": [
"CPSC 107",
"CPSC 110"
]
}
],
"credits": "4",
"description": "Physical and mathematical structures of computation. Boolean algebra and combinations logic circuits; proof techniques; functions and sequential circuits; sets and relations; finite state machines; sequential instruction execution. [3-2-1]",
"equivalencies": [],
"preRequisites": [
{
"oneOf": [
{
"_id": "",
"preRequisites": [],
"coRequisites": [],
"equivalencies": [],
"subject": "",
"description": "",
"title": "Principles of Mathematics 12",
"code": -1,
"credits": "",
"school": "",
"__v":
},
{
"_id": "",
"preRequisites": [],
"coRequisites": [],
"equivalencies": [],
"subject": "",
"description": "",
"title": "Pre-calculus 12",
"code": -1,
"credits": "",
"school": "",
"__v": 0
}
]
}
],
"school": "UBC",
"title": "Models of Computation",
"notes": ""
}
}
Some pre-requisite chains are so complicated that it can take 1-5 seconds for a response. Not only that, but the data returned might be over 100,000+ lines of JSON. For example: https://www.course-reqs.com/api/course/ubc/cpsc/340