ConstructorIO

ConstructorIO

Class to instantiate the ConstructorIO client.

Constructor

new ConstructorIO(parameters) → {class}

Source:
Properties:
Name Type Description
search object Interface to module:search
browse object Interface to module:browse
autocomplete object Interface to module:autocomplete
recommendations object Interface to module:recommendations
tracker object Interface to module:tracker
catalog object Interface to module:catalog
tasks object Interface to module:tasks
quizzes object Interface to module:quizzes
Parameters:
Name Type Description
parameters object Parameters for client instantiation
Properties
Name Type Attributes Default Description
apiKey string Constructor.io API key
apiToken string <optional>
Constructor.io API token - Should only be supplied when utilizing the `catalog` module and should be treated as sensitive information
securityToken string <optional>
Constructor security token
serviceUrl string <optional>
'https://ac.cnstrc.com' API URL endpoint
fetch function <optional>
If supplied, will be utilized for requests rather than default Fetch API
networkParameters object <optional>
Parameters relevant to network requests
Properties
Name Type Attributes Description
timeout number <optional>
Request timeout (in milliseconds) - may be overridden within individual method calls
Returns:
Type
class