Azubiheft.de custom api
Project description
azubiheft-api
Api for azubiheft.de
install with pip
later
usage example code
from azubiheftApi import azubiheftApi
from datetime import datetime
azubiheft = azubiheftApi.Session()
azubiheft.login("yourUserName", "yourPassword")
# Check login status
print(azubiheft.isLoggedIn())
# Testen Sie die getSubjects-Funktion
subjects = azubiheft.getSubjects()
print(subjects)
# Testen Sie die getReport-Funktion
report = azubiheft.getReport(datetime(2023, 10, 19))
print(report)
# Testen Sie die getReportWeekId-Funktion
week_id = azubiheft.getReportWeekId(datetime.now())
print(week_id)
# Use the new writeReport method
azubiheft.writeReport(datetime(2023, 10, 19), "Hello World", "2:00", 1)
# Get a report
report = azubiheft.getReport(datetime(2023, 10, 19))
print(report)
# Testen Sie die logout-Funktion
azubiheft.logout()
# Sollte False zurückgeben, wenn Sie erfolgreich ausgeloggt sind
print(azubiheft.isLoggedIn())
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
azubiheftApi-0.0.2.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for azubiheftApi-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48dc1b6784659dbe684fd1e57fcf5435f6a547605fd4da8d4e7f7e04cf57a4bc |
|
MD5 | 9f2435d79f0258dad939b0683b2ef7c2 |
|
BLAKE2b-256 | 015a35dc42fea511950b571bf25532f9f6e01202461b85c5f03e491825d798ba |