Skip to main content

ConnectorRest

ConnectorRest​

ConnectorRest(host='localhost', port=None, user='', password='', token='', use_ssl=True, ca_cert=None, verify_hostname=True, shared_data=None, config: Optional[Configuration] = None, key: Optional[str] = None)

Bases: Connector

Class to use ApertureDB's REST interface

This class is used to connect to ApertureDB using the REST interface.

Parameters:

NameTypeDescriptionDefault
hoststr

Address of the host to connect to.

'localhost'
portint

Port to connect to.

None
userstr

Username to specify while establishing a connection.

''
passwordstr

Password to specify while connecting to ApertureDB.

''
tokenstr

Token to use while connecting to the database.

''
use_sslbool

Use SSL to encrypt communication with the database.

True
keystr

Aperture Key, configuration as a deflated compressed string

None