Warning: ALPHA release - unstable API and feature incomplete
Contains utilities to simplify interaction with the Tradedoubler Affiliate Marketing Network APIs.
Provides support for the following data types:
- Merchants / Advertisers
- Vouchers
- Node.js / NPM
npm i tradedoubler --save
var TD = new Tradedoubler({
affiliateId: '123456',
reportKey: 'ABCD...',
vouchersToken: 'ABCDE...'
})
Get a list of all advertisers in the Tradedoubler system linked to the particular Affiliate ID
TD.getAdvertisers()
Get voucher codes linked to a particular Affiliate ID
TD.getVouchers()
npm test