Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 487 Bytes

beemapi.websocket.rst

File metadata and controls

27 lines (18 loc) · 487 Bytes

beemapi.websocket

This class allows subscribe to push notifications from the Steem node.

from pprint import pprint
from beemapi.websocket import SteemWebsocket

ws = SteemWebsocket(
    "wss://gtg.steem.house:8090",
    accounts=["test"],
    on_block=print,
)

ws.run_forever()

beemapi.websocket.SteemWebsocket