Criteo Node SDK
Installation
npm install node-criteo-api
Usage
You will need a username/password + token to use the api
var Criteo = ;var client = username password token; client;
Options
You can also specify options as a fourth parameter
var client = username password token source: 'node-criteo-api' //the "source" parameter, the criteo "user agent" version: 'v201305' //the version of the api;
Testing
To run the tests, you need to set some environmental variables. Only about 10% of the tests will run without the following environmental variables
CRITEO_API_USERNAME,
CRITEO_API_PASSWORD,
CRITEO_API_TOKEN
then run
npm test