affilinet
wraps some php code that talks to the affilinet soap webservices
this is very early work in progress
Install
npm install affilinet
Use
Affilinet = require 'affilinet'
affilinet = new Affilinet
publisherId: '...'
productWebservicePassword: '...'
publisherWebservicePassword: '...'
affilinet.getShops (err, shops) ->
throw err if err?
console.log shops
API
-
getShops(cb)
calls cb
with an array of shop objects:
- number
ShopId
- string
ShopLink
that is the link to the landing page of the shop - string
ShopTitle
- string
LastUpdate
- object
Logo
- number
Height
- number
Width
- string
LogoScale
- string
URL
that is the url of the logo
- number
ProductCount
- number
ProgramId
that is the id of the programs this shop belongs to
-
getPrograms(displayOptions, query, cb)
License: MIT