Async API for Bakalari endpoint v3
Project description
Python async client for Bakalari API v3
### 0.0.2
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
v0.1
Class School from datastructure.py
Now supports to download list of schools with their API points.
- get_url by school name or index in list
- search school by town
- cache list of schools by saving and loading list in JSON format
Class Bakalari
- first login with username and password and stores access and refresh token
- automaticaly refreshes access token with refresh token if refresh token is not expired
- save access and refresh token localy to be cached
Class Komens
- count unread messages
count_unread_messages
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
async_bakalari_api-0.2.tar.gz
(21.7 kB
view hashes)
Built Distribution
Close
Hashes for async_bakalari_api-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6583a36e3821412cacb7c859adaca57e56ca6aa034c47964172983084de1804 |
|
MD5 | ad097fb598efda738e968ea30969b80a |
|
BLAKE2b-256 | 5614a97e35cda0fc577c481f8fd73df15bb735fb1b197c6024caeaa96e05aafa |