smg-untis-parser
v0.0.1
Published
Parse SMG teacher substitution schedules
Downloads
2
Readme
SMG UntisParser
Parse Sebastian-Münster-Gymnasium teacher substitution schedules.
Installation
You need to provide your own cheerio instance since this package needs to be compatible with react-native.
yarn add smg-untis-parser
and
yarn add cheerio
or yarn add react-native-cheerio
Usage
import cheerio from 'cheerio'; // 'react-native-cheerio'
import UntisParser from 'smg-untis-parser';
const parser = new UntisParser(cheerio, data);
const timetables = parser.timetables;