3.0.5 • Published 7 years ago

rapla-parser-js v3.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

rapla-parser-js

A simple parser for the rapla timetable system. It is written in javascript and uses jsdom, request and moment.js.

Usage

The rapla-parser-js module is available via npm.

$ npm install rapla-parser-js

Afterwards you will be able to fetch your events through providing a rapla link:

var parser = require("rapla-parser-js");
var moment = require("moment");

parser.fetchWeeks(
  "https://rapla.dhbw-stuttgart.de/rapla?key=abcd1234YourRaplaLink56789wxyz",
  moment("2018-01-01"), // start date
  moment("2019-01-01"), // end date
  (events) => {
    // Do what ever you want...
    console.log(events);
  },
  (err) => {
    console.error(err);
  }
);
3.0.5

7 years ago

3.0.4

7 years ago

3.0.3

7 years ago

3.0.2

7 years ago

2.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago