rutgers-api

1.2.0 • Public • Published

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

Package Sidebar

Install

npm i rutgers-api

Weekly Downloads

1

Version

1.2.0

License

Apache License 2.0

Last publish

Collaborators

  • shahyash