rutgers-soc
v1.2.0
Published
Module which webscrapes any user's schedule given their netid and password.
Downloads
5
Readme
Classmate-RutgersSOC
Web scraper for my.rutgers.edu website. With netId and password, it will output the student schedules to a JSON array.
To use:
npm install rutgers-soc
Example (with ExpressJS):
var soc = require('rutgers-soc');
var express = require('express');
var app = express();
app.get('/myschedule', function (req, res) {
soc.getClasses(req.query.netid, req.query.password, function(err, result) {
if(err) res.send(err);
else res.send(JSON.stringify(result));
});
});
app.listen(3000);