3.2.0 • Published 8 years ago

video-ad-network-multi-api v3.2.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

video-ad-network-multi-api

Pulls reports from multiple video ad networks and attempts to normalize the responses. Currently supports:

  • SpotX (spotx-api)
  • LKQD (lkqd-api)
  • OneVideo (onevideo-api)

Example

var multiFetch = require('video-ad-network-multi-api')

var accounts = [
  {
    "network": "spotx",
    "username": "xxx",
    "password": "xxx"
  },
  {
    "network": "onevideo",
    "username": "xxx",
    "password": "xxx"
  },
  {
    "network": "lkqd",
    "key": "xxx",
    "secret": "xxx"
  }
]

var dateStart = '2015-10-15'
var dateEnd = '2015-10-18'

multiFetch(accounts, dateStart, dateEnd, function (err, report) {
  if (err) return console.error(err)
  console.log('report', report)
})

License

MIT

3.2.0

8 years ago

3.1.4

8 years ago

3.1.3

8 years ago

3.1.2

8 years ago

3.1.1

8 years ago

3.1.0

8 years ago

3.0.0

8 years ago

2.0.1

8 years ago

2.0.0

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago