0.0.8 • Published 9 years ago
rakuten-linkshare v0.0.8
Rakuten LinkShare API Helper Methods
Warning: ALPHA release - unstable API and feature incomplete
Contains utilities to simplify interaction with the Rakuten LinkShare Affiliate Marketing Network APIs.
Provides support for the following data types:
- Merchants
 - Links
 - Transactions
 
Bear in mind that some calls may take a little while to return if they contain a large data set. This is because we do multiple API calls to get all pages of data, which we then stitch together in the output for your benefit.
Prerequisites
- Node.js / NPM
 
Install
npm i rakuten-linkshare --saveUsage
var RL = new RakutenLinkShare({
  websiteId: '123456'
})Advertisers
Get a list of all advertisers in the Rakuten LinkShare system
RL.getAdvertisers()Banners
Get a list of all banners linked to the websiteId
RL.getBanners()Links
Get links linked to the websiteId
RL.getLinks()Transactions
Get transactions linked to the websiteId
RL.getTransactions()Test
npm test