a function wrapper for the library, some websocket hoo-ha, and probably ...

...some documentation