btfxwss/client.py
def authenticate(self):
        """Authenticate with the Bitfinex API.

        :return:
        """
        if not self.key and not self.secret:
            raise ValueError("Must supply both key and secret key for API!")
        self.channel_configs['auth'] = {'api_key': self.key, 'secret': self.secret}
        self.conn.send(api_key=self.key, secret=self.secret, auth=True)
def authenticate(self):
        """Authenticate with the Bitfinex API.

        :return:
        """
        if not self.key and not self.secret:
            raise ValueError("Must supply both key and secret key for API!")
        self.channel_configs['auth'] = {'api_key': self.key, 'secret': self.secret}
        self.conn.send(api_key=self.key, secret=self.secret, auth=True)
def authenticate ( self ) : if not self . key and not self . secret : raise ValueError ( "Must supply both key and secret key for API!" ) self . channel_configs [ 'auth' ] = { 'api_key' : self . key , 'secret' : self . secret } self . conn . send ( api_key = self . key , secret = self . secret , auth = True )
Authenticate with the Bitfinex API.

        :return:
Authenticate with the Bitfinex API .