1.1.0 • Published 7 months ago

maria-hessen v1.1.0

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
7 months ago

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.

1.1.0

7 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago