algolia_client_insights library

Classes

AddedToCartObjectIDs
AddedToCartObjectIDsAfterSearch
AgentSegment
Represents a segment of algolia agent header.
ApiClient
An abstract class representing an API client with specific properties and options.
ApiRequest
Represents an API request to be sent to Algolia.
ClickedFilters
ClickedObjectIDs
ClickedObjectIDsAfterSearch
ClientOptions
ConvertedFilters
ConvertedObjectIDs
ConvertedObjectIDsAfterSearch
ErrorBase
EventsResponse
Host
Represents an Algolia host.
HttpRequest
Represents an Http request.
HttpResponse
Represents an Http response
InsightsClient
InsightsEvents
ObjectData
ObjectDataAfterSearch
PurchasedObjectIDs
PurchasedObjectIDsAfterSearch
Requester
A contract Requester to define an interface for handling HTTP requests and responses.
RequestOptions
Represents options for configuring a request to an endpoint.
RetryStrategy
Component to run http requests with retry logic.
ViewedFilters
ViewedObjectIDs

Enums

AddToCartEvent
CallType
Indicate whether the HTTP call performed is of type read (GET) or write (POST, PUT ..). Used to determine which timeout duration to use.
ClickEvent
ConversionEvent
PurchaseEvent
RequestMethod
Provides enumerated HTTP verbs
ViewEvent

Exceptions / Errors

AlgoliaApiException
Exception thrown when the Algolia API returns an error.
AlgoliaException
Abstract base class for all Algolia exceptions.
AlgoliaIOException
Exception thrown when there is an input/output error during a request to the Algolia API.
AlgoliaTimeoutException
Exception thrown when a request to the Algolia API times out.
AlgoliaWaitException
Exception thrown when an error occurs during the wait strategy. For example: maximum number of retry exceeded.
UnreachableHostsException
Exception thrown when all hosts for the Algolia API are unreachable.