affilinet
v0.0.5
Published
simple interface to the affilinet api
Readme
affilinet
node wrapper for the affilinet php soap examples
this is very early work in progress
Install
npm install affilinetUse
Affilinet = require 'affilinet'
affilinet = new Affilinet
publisherId: '...'
productWebservicePassword: '...'
publisherWebservicePassword: '...'
affilinet.getShops (err, shops) ->
throw err if err?
console.log shops
affilinet.getSalesForDayRange startDate, endDate, (err, sales) ->
throw err if err?
console.log sales