The Unified University Database (uni2db). This repo includes:
- Scrapers to get course info from college websites and populate a MongoDB database (
/scrapers
) - A command line tool to help you manage scraping (
cli.py
) - An API that you can host to access scraped data through http requests (
server.py
)
Join the discord community: https://discord.gg/TxeZdrnTU7
See CONTRIBUTING.md
The following are API routes available. Results are returned in JSON lists of strings or objects.
Returns an array of distinct names from the courses collection
List distinct subjects offered at a school. Requires query parameter for school
Lists all information about courses offered in a subject at a certain school. Requires query parameters for school
and subject
Lists all courses that can be transfered from a certain src_school
to a dest_school
. Requires query params for src_school
and dest_school
Lists all information about sections offered for a certain course at a certain school. Requires query parameters for school
and code
.