Node.js SDK (v6.2.0) for the Recombee recommendation engine API. Provides a high-level client with batch operations, property management, and recommendation requests. Ships TypeScript types, requires Node >=18, and supports ESM & CJS. Major v6 dropped callbacks in favor of promises, and changed import paths. Regular releases on npm monthly.
npm install recombee-api-clientVerified import paths — ran on the pinned version, not inferred.
Initializes the Recombee client with environment variables and sends a ListUsers request.
Use async/await or .then() instead of callbacks.
Use import { ApiClient, requests } from 'recombee-api-client' instead of import recombee from 'recombee-api-client'.Upgrade Node to version 18 or later.
Use import { ApiClient, requests } from 'recombee-api-client' instead.Wrap multiple requests in new requests.Batch() before sending.
Use named import: import { ApiClient } from 'recombee-api-client'Run npm install recombee-api-client and ensure your node_modules includes it.
Ensure you pass valid database ID and private token to new ApiClient(id, token, options).
Check the Recombee documentation for valid region codes and use one of the listed values.
No dependency data recorded yet.