v1

latestOpenAPI 3.0.02026-07-176413.0 KB
Professors

Get the specified professor.

<aside class="notice"> <code>slug</code> is PlanetTerp's identifier for professors. Slugs are unique to a professor and is often, but not always, their last name. <br/><br/> You may find a professor's slug useful to get a unique identifier for professors, or to link to a professor's page on PlanetTerp (via <code>https://planetterp.com/professor/SLUG</code>). <br/><br/> For example, Jon Snow's slug might be <code>snow</code>. <br/><br/> </aside>
get/professor

Query parameters

namestring required

Show the given professor.

reviewsboolean

Show reviews for the professor.

Response

Returns professor matching query

namestring required
slugstring required
type'professor' | 'ta' required
coursesstring[] required
average_ratingnumber required

Example response

{
  "name": "Jon Snow",
  "slug": "snow",
  "type": "professor",
  "courses": [
    "MATH140"
  ],
  "average_rating": 4.125
}