@onegevity/recommendations-api-client :: 1.2.0
This is a generated TypeScript/JavaScript client that utilizes Fetch API to consume the Onegevity recommendations API.
Installation
npm install @onegevity/recommendations-api-client --save
Using the API
Please read the API documentation for details.
Notes
The generated Node module can be used in the following environments:
Environment
- Node.js
- Webpack
- Browserify
Language level
- ES5 - you must have a Promises/A+ library installed
- ES6
Module system
- CommonJS
- ES6 module system
It can be used in both TypeScript and JavaScript. In TypeScript, the definition should be automatically resolved via package.json
. (Reference)