Metadata-Version: 2.1
Name: azubiheftApi
Version: 0.0.3
Summary: Azubiheft.de custom api
Home-page: https://github.com/leonkohli/azubiheft-api
Author: Leon Kohlhaussen
Author-email: kohli.leon@gmail.com
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# azubiheft-api

Api for azubiheft.de

## install with pip

`<code>`pip install azubiheftApi`</code>`

## usage example code

```python
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())
```
