Skip to main content

Async API for Bakalari endpoint v3

Project description

codecov

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)

Uploaded Source

Built Distribution

async_bakalari_api-0.2-py3-none-any.whl (21.0 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