0.1.3 • Published 6 years ago

eyevinn-adxchange-engine v0.1.3

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
6 years ago

The Eyevinn Adxchange Engine is a microservice placed between the server-side ad-insertion component and the adserver or SSP.

It currently provides the following API:

ResourceMethod ResponseModuleDescription
/mockup GETVAST XMLMockupExchangeReturns a mockup VAST XML that can be used for testing

Node Module

$ npm install --save eyevinn-adxchange-engine

To use the Adxchange Engine in your NodeJS code you initiate the engine like this:

  const AdxEngine = require('eyevinn-adxchange-engine');

  const engine = new AdxEngine();
  engine.listen(process.env.PORT || 7000);

or if you want to use a specific module and not setup a server.

  const Exchange = AdxEngine.exchange('MockupExchange');
  const mockup = new Exchange();
  mockup.generateMockupResponse().then(payload => {
    console.log(payload);
  });
  
0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago