src/index.js
function getHours (verbose = false, minRequestSpace = 500) {
    validateInput("verbose", verbose, [true, false], "set");
    validateInput("minRequestSpace", minRequestSpace, [0, 100000], "range");
    return scrapeBuildings(verbose, minRequestSpace);
}
function getHours (verbose = false, minRequestSpace = 500) {
    validateInput("verbose", verbose, [true, false], "set");
    validateInput("minRequestSpace", minRequestSpace, [0, 100000], "range");
    return scrapeBuildings(verbose, minRequestSpace);
}
function getHours ( verbose = false , minRequestSpace = 500 ) { validateInput ( "verbose" , verbose , [ true , false ] , "set" ) ; validateInput ( "minRequestSpace" , minRequestSpace , [ 0 , 100000 ] , "range" ) ; return scrapeBuildings ( verbose , minRequestSpace ) ; }
Gets the hours for all buildings listed on the Buildings and classrooms section of the student services page
@param verbose: whether or not you want to see console.logs
@param minRequestSpace: the minimum amount of time between requests to UBCs webserver in milliseconds
Gets the hours for all buildings listed on the Buildings and classrooms section of the student services page