A client for simple access to katportal, via websocket and HTTP connections. The HTTP methods allow once-off requests, like the current list of schedule blocks. For continuous updates, use the Pub/Sub methods, which work over a websocket.
Details can be found in setup.py but basically it is only:
- katversion
- tornado is used as the web framework and for its asynchronous functionality.
Note: setup.py depends on katversion, so make sure that is installed before installing the package.
Run the unit tests with:
.venv/bin/python -m pytest katportalclient/test/test_client.pypip install katportalclientSee the examples folder for code that demonstrates some usage scenarios.