Class: ApiClient

ApiClient(databaseId, secretToken, options)

Client for sending requests to Recombee and getting replies

Constructor

new ApiClient(databaseId, secretToken, options)

Construct the client
Parameters:
Name Type Description
databaseId string ID of your database
secretToken string Corresponding secret token
options Object Other custom options
Source:

Methods

send(request, callback)

Send the request to Recombee
Parameters:
Name Type Description
request Request Request to be sent
callback Object Optional callback (send returns Promise if omitted)
Source: