Repository navigation
v4.1.3 - Messages API with userId parameter
Changes in v4.1.3
API Changes
- Changed get_messages() to use userId parameter instead of �ox
- Automatic fallback to selected student's ID if userId not provided
- Better integration with backend API
Details
- librus_client.py: Updated LibrusClient.get_messages() and LibrusData.get_messages()
- Parameters: �ox: str user_id: Optional[int]
- Backend: Compatible with PrivPortal API changes
Technical
- Validates student selection before fetching messages
- Uses student['pupil']['id'] for API requests
- Maintains backward compatibility for existing code
Installation
Update via HACS or manually download the latest version.
Full Changelog: v4.1.2...v4.1.3