Changelog
All notable changes to this project will be documented in this file.
🇨🇿 Full documentation (czech) on this site
Added
Schools
now support operations with towns- new data structure
UniqueTowns
that hold all town names
get_town_partial_name
returns list of the towns based on partial nameget_all_towns returns
list of all townsistown
checks if the town is present in the listcount_towns
returns number of towns in list
Changed
dependency list is divided to application dependencies and development dependencies
Added
bakalari_demo.py
is now CLI applicationKomens
now support for downloading attachment - get_attachment
send_auth_request
now supports extending EndPoints url wiht extend
argumentschool_list
now supports variable town
- fetch schools in the town to limit downloading full list of schools.Messages
class now have function json
to return messages as JSON representativeMessages
class have __str__
function for better handling str(Messages)
Changed
- refactor of the code for speed and better reading of the code
school_list
now fetching schools in concurency mode - improved speed form about 1:30 min to 20smid
variable in the MessageContainter
is now string instead of integer.async_school_list
renamed to school_list
as all methods are asyncMessageContainter
returns JSON bytes on as_json()
call instead of orjson.Fragment
get_messsages()
renamed to fetch_messages()
Removed
username
from Credentials
- as we do not need to store it
Added
- better exceptions handling and logging
class Komens
- count unread messages
- get all messages
- tests and coverage
Changed
async_schools_list
moved to Bakalari
class- Refactor login functions
- Refactor token handling
Fixed
- Invalid refresh token
- Refactor send_request to better maintenance
Added