🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

web-untis-anonymous-api

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

web-untis-anonymous-api

An API for webuntis that doesn't require any authentication

1.2.5
latest
npm
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

An easy-to-use API for webuntis that doesn't require any authentication.

to get started:

const untis = require('web-untis-anonymous-api');
// Screenshots below on how to find them
const schedule = new untis.Schedule({Element/ClassId}, "{SchoolId/Name}");

schedule.update((err, lessons) => {
    for(const lesson of lessons) {
        /**
        * All available properties and functions
        * var startTime = lesson.startTime;
        * var endTime = lesson.endTime;
        * var lessonId = lesson.lessonId
        * var periods = lesson.periods;
        * var cellState = lesson.getCellState();
        * var Lesson = lesson.getLesson();
        * var teacher = lesson.getTeacher();
        * var oldLesson = lesson.getOldLesson();
        * var oldTeacher = lesson.getOldTeacher();
        */
       console.log(`${lesson.startTime} - ${lesson.endTime} | ${lesson.getLesson()} - ${lesson.getTeacher()}`)
    }
})

SchoolId/name: SchoolId

ElementId/ClassId: ElementId

FAQs

Package last updated on 25 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts