Rate My Professors Search
GET
Search Rate My Professors by name. Cards include school, department, difficulty, and would-take-again when the card shows them.
Credit cost: 2 credits per call
ApiKeyAuthheader
x-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringRequired. A professor name, or a Rate My Professors search URL whose path contains /search/professors or whose query contains q=.
Example:
smithURL example:
https://www.ratemyprofessors.com/search/professors?q=smithSuccessful response
application/json- response
results?array<>pagination?curl -X GET 'https://api.piloterr.com/v2/ratemyprofessors/search?query=string'Example Response
{ "results": [ { "id": "1064107", "url": "https://www.ratemyprofessors.com/professor/1064107", "name": "Kevin Smith", "rating": 4.6, "school": "Rio Hondo College", "department": "Psychology", "difficulty": 3.1, "ratings_count": 174, "would_take_again_percent": 94 } ], "pagination": { "next": null, "page": 1, "per_page": 5, "total_pages": null, "total_results": 10000 }}