Skip to main content

A unofficial python api for Lanis

Project description

[README DE] [README EN]

LanisAPI

⚠ Notice

Because the Schulportal Hessen changes quickly and is very fragmented, (like the backwards compability with Linux libraries) can some functions at specifc schools or after a time not be working anymore.

What is this?

It's an unofficial Python library for the Schulportal Hessen. Also available on PyPi.

How do I install it?

$ pip install lanisapi

Required is Python 3.11. (older versions should definitely work too but I didn't tested it.)

Example

This example gives the substitution plan.

from lanisapi import LanisClient

def main():
    client = LanisClient("schoolid", "name.lastname", "password")
    client.authenticate()
    print(client.get_substitution_plan())
    client.logout()
    
if __name__ == "__main__":
    main()

More infos at the wiki.

Overview of future Features, Problems and other things here.

How can I help?

  1. You can report Problems at Issues.
  2. You can suggest Ideas at Issues.
  3. Extra nice: You can contribute to this project. If you're new to contributing, look here.

Credits

The Javascript project SPHclient from @alessioC42 helped me to understand the shitpile Schulportal Hessen.

The Android-App sph-planner (if you know Kotlin, you can contribute to this app) from @koenidv helped me to understand the Level 2 encryption.

Other projects that didn't helped me but are cool:

Notice

This project isn't officialy related to the Schulportal Hessen. It's only a unofficial libray, supported by the community.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lanisapi-0.0.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

lanisapi-0.0.2-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file lanisapi-0.0.2.tar.gz.

File metadata

  • Download URL: lanisapi-0.0.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for lanisapi-0.0.2.tar.gz
Algorithm Hash digest
SHA256 27b0631f38f5f75e9773f051f12bb8b301a8dac77bd7e76bcb3bb8c3555ee6b5
MD5 8e871cb5472058d1ed5f09e4088535fc
BLAKE2b-256 1c07625bd1eaf149a52f73a281911b5d5d96a87dddc32b96dac323cbe03be0c8

See more details on using hashes here.

File details

Details for the file lanisapi-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: lanisapi-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for lanisapi-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b934004c216df6c9c537b263b0fa97ccf2ac635a16327495dc42ce2fa2ef00c
MD5 c5b86d39207ec0c6eb195c0d2ca5dbe3
BLAKE2b-256 bc025eb7cce2944b47683cfbf9feabd1ff08b244c07ec3e997831f6fa8725e90

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page