Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
amazon-associate
Advanced tools
Readme
amazon-associate is a simple interface to amazon associate reports for nodejs
npm install amazon-associate
var Amazon = require('amazon-associate');
var amazon = new Amazon({
associateId: 'your amazon associate id',
password: 'your password',
host: 'assoc-datafeeds-na.amazon.com', // (default 'assoc-datafeeds-eu.amazon.com')
debug: true // print debug output to the console (optional)
})
amazon.getEarnings(new Date(2012, 5, 22), function(err, earnings) {
if (err) {
throw err;
}
console.log(earnings);
});
getEarnings(date, cb)
calls cb
with the earnings of the given date.
each earning has the properties:
asin
amazon standard identification number of the productcategory
id of the category of the productdate
date in a format like September 25, 2012
edate
date as posix timeearnings
amount that was earned for the associate programlinktype
price
price of the productqty
quantity that was bought of the productrate
percentage of the earnings on the pricerevenue
seller
name of the product's sellersubtag
subtag used in the affiliate linktag
associate idtitle
title of the productgetOrders(date, cb)
calls cb
with the orders of the given date.
each order has the properties:
asin
amazon standard identification number of the productcategory
id of the category of the productclicks
conversion
dqty
date
date in a format like September 25, 2012
linktype
nqty
price
price of the productqty
quantity that was bought of the productsubtag
subtag used in the affiliate linktag
associate idtitle
title of the productFAQs
amazon-associate is a simple interface to amazon associate reports for nodejs
The npm package amazon-associate receives a total of 20 weekly downloads. As such, amazon-associate popularity was classified as not popular.
We found that amazon-associate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.