ewanbarr / katportalclient

Websocket client for use with katportal PubSub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

katportalclient

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.

Dependencies

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.

Install

pip install katportalclient

Example usage

See the examples folder for code that demonstrates some usage scenarios.

About

Websocket client for use with katportal PubSub


Languages

Language:Python 100.0%