How tisuela/ratemyprof-api works
This Python package provides a client for retrieving Rate My Professors data for a university, representing professors, searching for them, fetching reviews, and exporting data to CSV. The main workflow is to initialize the client with a university ID, retrieve professor listings, then search or fetch reviews and optionally write results to files. The README also describes printing professor details. Search/detail implementation is incomplete or inconsistent in the sampled source, so those capabilities are shown without asserting unsupported internal calls.
Main entry points: ratemyprof_api.py University client · professor.py Professor record
Components 10
Client operations
- University client
ratemyprof_api/ratemyprof_api.py - Professor listings
ratemyprof_api/ratemyprof_api.py - Professor search
ratemyprof_api/ratemyprof_api.py - Professor details
ratemyprof_api/ratemyprof_api.py - Review retrieval
ratemyprof_api/ratemyprof_api.py - CSV export
ratemyprof_api/ratemyprof_api.py
Professor data
- Professor record
ratemyprof_api/professor.py
External data and files
- Rate My Professors
- Local CSV files
Other components
- User
Connections 11
- User → University client: initializes
README.md - University client → Professor listings: loads listings
ratemyprof_api/ratemyprof_api.py - Professor listings → Rate My Professors: requests pages
ratemyprof_api/ratemyprof_api.py - Professor listings → Professor record: creates records
ratemyprof_api/ratemyprof_api.py - User → Professor search: searches by name
README.md - User → Professor details: requests detail
README.md - User → Review retrieval: requests reviews
- Review retrieval → Rate My Professors: requests pages
ratemyprof_api/ratemyprof_api.py - User → CSV export: exports data
- CSV export → Local CSV files: writes CSV
ratemyprof_api/ratemyprof_api.py - University client → Local CSV files: creates directory
ratemyprof_api/ratemyprof_api.py