Skip to main content

A client library for the sparkworks websocket api

Project description

A client library for accessing live data through the SparkWorks Websocket API.

Example Application

from sparkworksws import SparkWorksWebSocket

class MyMessageHandler(SparkWorksWebSocket.SparkWorksWebSocketClientProtocol):
def messageReceived(self, message):

print message

if __name__ == ‘__main__’:

ws = SparkWorksWebSocket(token=’your-token’, handler=MyMessageHandler)

ws.start()

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

sparkworksws-0.0.6.tar.gz (2.3 kB view hashes)

Uploaded Source

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