maria-hessen
TypeScript icon, indicating that this package has built-in type declarations

1.1.0 • Public • Published

Maria

Maria is a TypeScript library designed to simplify the process of fetching from the "Schulportal Hessen" or "Lanis" website. This library provides a convenient interface for programmatically retrieving teacher plans, making it easier for developers to integrate this data into their applications.

Installation

npm i maria-hessen

Features

  • Handle authentication / Session Management
  • Fetch representative teacher plan
  • Fetch homework on the "Mein Unterricht" (My Lessons) page"

Usage

const maria = new Maria({
    auth: {
        username: "max.mustermann",
        password: "secure-password",
        school: {
            name: "Mosaikschule",
            city: "Frankfurt a. M.",
        },
    },
});

const currentRepPlan = await maria.fetchRepPlan({});

const futureRepPlan = await maria.fetchRepPlan({
    date: new Date("18 Sep 2024"),
});

Notice

This library is not officially affiliated with the "Schulportal Hessen" or "Lanis" website. It is a community-driven project.

Package Sidebar

Install

npm i maria-hessen

Weekly Downloads

1

Version

1.1.0

License

GPL-3.0

Unpacked Size

53.8 kB

Total Files

47

Last publish

Collaborators

  • elderguardian