KPI rozklad Lib
Schedule API based on Rozklad API
Install
npm i node-rozklad-api
Usage
const r =
Debug
To enable debug mode
DEBUG=rozklad node app.js
Method
Each method can accept either identifier or name
timetable
Group schedule in a hierarchical form
const schedule = await r
lessons
Group lessons with filters
// if second parameter doesn't specified then all lessons will be requested// lessons with (day_number = 1 and lesson_week = 1) or (day_number = 2)const lessons = await r
teacherLessons
Teacher lessons
const lessons = await r
groups
Search groups or get particular group
const group = await rconst groups = await r // all groupsconst groups = await rconst groups = await r
teachers
Search teachers or get particular teacher (like groups)
const teacher = await r
groupTeachers
Teachers of particular group
const teachers = await r
currWeek
Get current study week
const currWeek = await r