1.0.2 • Published 8 years ago

avantlink-report v1.0.2

Weekly downloads
11
License
-
Repository
github
Last release
8 years ago

AvantLink report

AvantLink Affiliate Network Reports.

//Loading the modules
var $avantlinkDetails = {
	affiliate_id : id,
	auth_key : auth_key
}
var AvantLink = require('./lib/avantlink').Affiliate($avantlinkDetails)


//Getting the report
AvantLink.Report({
	    module : 'AffiliateReport',
	    report_id : 8,
                output : 'csv',
	    date_begin: '2016-07-12', 
	    date_end: '2016-07-13'
}, function(err,data) {
	console.log(err,data)
})

Filters

Check the parameters that can be passed through Report from https://classic.avantlink.com/affiliate/api_request_builder.php . The parameters differ according to the module.

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago