List of methods
It’s recommended to use the Kotlin API client, which is better suited for Android development.
Personalization is specific to a region. As such, you should use the region where your personalization data is stored and processed. View your analytics region.
1 2 3 4 5 6 7 8 9 use Algolia\AlgoliaSearch\RecommendationClient; $recommendation = RecommendationClient::create( 'YourApplicationID', 'YourAdminAPIKey', 'eu' // defaults to 'us' ); $strategy = $recommendation->getPersonalizationStrategy();