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

install

npm i rutgers-api

Downloadsweekly downloads

2

version

1.2.0

license

Apache License 2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability