Skip to main content

Azubiheft.de custom api

Project description

Azubiheft Web API Wrapper

This library provides a Python wrapper for azubiheft.com. With this library, developers can easily manage their Ausbildung (training) reports through a script, allowing for enhanced automation and better control over their Ausbildung documentation.

🚀 Note: This API wrapper is unofficial and independent of the official Azubiheft platform. This repository stands as a tribute to joshmuente/azubiheft-api. Heartfelt thanks to the original creator.

📖 About Azubiheft

Azubiheft brings a streamlined online approach to training documentation. Designed for businesses, instructors, and apprentices, it offers an effortless way to manage every training entry online. With Azubiheft, you're always one step ahead with all your training data right at your fingertips.

🛠 Installation

pip install azubiheftApi

🔍 Usage

Here's a quick guide on how to use the azubiheftApi:

from azubiheftApi import azubiheftApi
from datetime import datetime

azubiheft = azubiheftApi.Session()
azubiheft.login("yourUserName", "yourPassword")

# Check login status
print(azubiheft.isLoggedIn())

# Get available subjects
subjects = azubiheft.getSubjects()
print(subjects)

# Fetch a report by date
report = azubiheft.getReport(datetime(2023, 10, 19))
print(report)

# Get a week's report ID
week_id = azubiheft.getReportWeekId(datetime.now())
print(week_id)

# Write a new report entry
azubiheft.writeReport(datetime(2023, 10, 19), "Hello World", "2:00", 1)

# Fetch the report again to see changes
report = azubiheft.getReport(datetime(2023, 10, 19))
print(report)

# Log out from the session
azubiheft.logout()

# Check login status (should be False after logging out)
print(azubiheft.isLoggedIn())

🌱 Contribution

Feel free to fork, star, or contribute to this repository. For any bugs or feature requests, please open a new issue.


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

azubiheftApi-0.0.5.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

azubiheftApi-0.0.5-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

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