A unofficial python api for Lanis
Project description
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?
- You can report Problems at Issues.
- You can suggest Ideas at Issues.
- 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:
- Flutter Android app SPH-Vertretungsplan also from @alessioC42
- Javascript app SchulportalApp from DerOwnerHD
- Flutter Android app lkwslr-sphplaner from flutter-preview
- TypeScript library Maria from Elderguardian
Notice
This project isn't officialy related to the Schulportal Hessen. It's only a unofficial libray, supported by the community.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lanisapi-0.0.3.tar.gz
.
File metadata
- Download URL: lanisapi-0.0.3.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 897a85e14dca24d59ec560fb29e5bb7518db82a8d3baeea3c9c2c9b6bda2f20e |
|
MD5 | 13cf8ae3e4be708a66747a83201ad944 |
|
BLAKE2b-256 | 918fc3b782d6518de826d7041984a05c7f18149e2641199afb8e5d7481d4d65b |
File details
Details for the file lanisapi-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: lanisapi-0.0.3-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8ea9b4ea0a722c6b3b504a1060cbfd2729f469cb33bc98343e96d3c3fa2ea53 |
|
MD5 | ae807872c543fb796cf341a1fd97eabf |
|
BLAKE2b-256 | 682cbd3fc3f68591d136e29fcf2be14cdd03102bc45e18a1b86e00ff1455f311 |