node package manager
It’s your turn. Help us improve JavaScript. Take the 2017 JavaScript Ecosystem Survey »

rutgers-api

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);