SlugTools API

Access university data with ease!

The SlugTools API provides a standards-compliant interface that developers can use to access UC Santa Cruz data. It serves scraped and organized data across university sites and categories. Report any bugs/errors/issues here.

Endpoints

All endpoints return JSON {}
See the sources of data here

/catalog

Pisa Catalog, RateMyProf, and Classrooms

/rooms

GET

All classrooms on campus

/rooms/<name>

GET

Classroom details
required: name (str)

/rmp/<name>

GET

Professor RateMyProf details
required: name (str)

/term

GET

POST

Code for academic term (for class search)
required: quarter (str) and/or year (int)

/classes

GET

POST

Class details for any term
required: number (int)
optional: term (int)

/classes/<number>

GET

Class details for current term
required: number (int)

/classes/search

GET

POST

Complex class search results
headers: /classes/search/template

/classes/search/<code>

GET

Simple class search results
required: code (str)

/classes/search/template

GET

Headers template for /classes/search

/food

Locations, Menus, and Nutrition

/locations

GET

Details for all locations

/locations/<id>

GET

Full details for location
required: id (int)

/menus

GET

Basic menu details for all locations

/menus/<id>

GET

Full menu details for location
required: id (int)

/items

GET

All food items

/items/<id>

GET

Macros for food item
required: id (int)

/items/search/<name>

GET

Search for food item by name
required: name (str)

/items/sum

GET

POST

Summed macros for items
required: ids (arr of str)

/laundry

Laundry Rooms

/rooms

GET

Details for all laundry rooms

/rooms/<id>

GET

Details for laundry room
required: id (int)

/weather

Provides campus weather data.

/current

GET

Retrieve current weather data