node-criteo-api

0.0.6 • Public • Published

Criteo Node SDK

Node Api for Criteo Build Status Coverage Status

Installation

npm install node-criteo-api

Usage

You will need a username/password + token to use the api

var Criteo = require('node-criteo-api');
var client = new Criteo(username, password, token);
 
 
client.getCampaigns({campaignStatus: 'RUNNING'}, (error, campaigns) => {
    console.log(error, campaigns);
});

Options

You can also specify options as a fourth parameter

var client = new Criteo(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

Readme

Keywords

Package Sidebar

Install

npm i node-criteo-api

Weekly Downloads

1

Version

0.0.6

License

MIT

Last publish

Collaborators

  • evelynli
  • adityachaudhari1412
  • jay-anderson
  • satishns
  • frank.torres
  • aayush1999
  • lrxdtc
  • abdallahhwishel
  • kendrick-mcadams
  • noahwebber
  • srisandhyamaddula
  • artem.polupan.pmg
  • jena
  • andrethio
  • vijayakumarchandrasekar
  • adamdutton08
  • tani-shah
  • jwzhang
  • jrughani
  • sirach99
  • aliciazavala
  • yashodhara
  • keerthi_kamarthi
  • nihitparikh
  • jzhang502
  • jgmpmg
  • psmith22
  • d3vj3rry
  • chrisguitarguy
  • chrisalvares
  • pmgbot
  • emilysnothere
  • eawooten
  • jamiebarbosa
  • ericelsken
  • phildier
  • becconk
  • skyemck
  • siephen
  • ian-evidente
  • hanakim778
  • talinhall
  • niclee521
  • abdullah.alhamoud
  • shlokkhetan
  • harshithamandru
  • diego.pozo