btnexus-node-python.btIntegration module

A Node for Integrations - is basically the Node class

class btIntegration.Integration(connectHash=None, packagePath=None, rcPath=None, logger=None, debug=None)[source]

Bases: btNode.Node

Constructor sets up the NexusConnector.

Parameters
  • token (String) – AccessToken for the btNexus

  • axonURL (String) – URL for the Axon(InstanceURL)

  • debug (bool) – switch for debug messages

  • logger (Logger) – a logger object to log to

  • personalityId (String) – Id of your Personality

  • integrationId (String) – Id of the integration this Node belongs to

onConnected()[source]

Is called when this node was connected This needs to be overloaded to subscribe to messages.