Skip to content

Latest commit

 

History

History
59 lines (46 loc) · 1.21 KB

README.md

File metadata and controls

59 lines (46 loc) · 1.21 KB

UBC-RMP-Data 🗃️

ubc-rmp-data demo

Scrapes UBC Course Schedule page and stores it as JSON to be used for UBC-RMP Chrome extension

Installation

go get github.com/jumbosushi/ubc-rmp-data

Development

git clone [email protected]:jumbosushi/ubc-rmp-data.git
cd ubc-rmp-data
make
./bin/ubc-rmp-data

Data Format

Two JSON files are available under /data per term per campus (ex. 2019_S_UBC_courseToInstrID.json)

courseToInstrID.json

{
  "APBI": {
    "361": {},      // No lecture section
    "398": {
        "001": [    // Two instructors
            1304835,
            1310500
        ],
        "002": [
            1304835,
            1310500
        ]
    },
}

instrIDToRating.json

{
    "1324945": {
        "difficulty":        2.6,
        "name":              "ICHIKAWA, JONATHAN",
        "overall":           4.3,
        "rmpid":             1676955,
        "ubcid":             1324945,
        "would_take_again":  "85%"
    }
}