Search by Course Code
Returns aCourseObject
for the given course code.
There are some duplicates in the course catalog with the same course code. For
example, there are three courses with the code ETHN 490
. They all have the
same information except the course_id
. Be sure to check for this when using
this endpoint.
Searches the CSUF course catalog for a course with the given course code.
Endpoint
GET /courses?course_code={course_code}
Parameters
Name | Description | Example |
---|---|---|
course_code | A code containing an abbreviated department and course number | CPSC-121 |
Responses
Code | Description |
---|---|
200 | A JSON Object containing a list of CourseObject |
400 | Client Error. Malformed request syntax |
404 | Course not found |
405 | The request method was not GET |
429 | Too many requests. Client was rate limited |
500 | An unknown internal server error occurred |
Response Example
GET /courses?course_code=CPSC-121
{
"success": true,
"data": [
{
"title": "Object-Oriented Programming",
"description": "The object-oriented programming paradigm: ...",
"course_code": "CPSC 121",
"course_id": 538057
}
]
}