1.0.0 • Published 6 years ago

afp-effiliation v1.0.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
6 years ago

afp-effiliation

Effiliation affiliate feed parser

Stream usage :

var afpEffiliation = require("afp-effiliation");
afpEffiliation
    .getStreamByUrl("http://feeds.effiliation.com/myformat/<YOUR FEED ID>")
    .on('data', (data) => {
        console.log("data", data);
    });

Fields

  • price: Product price including vat
  • currency: ISO 4217 currency code
  • deliveryCost: Delivery cost
  • name: Product name
  • brand: Product brand
  • imageUrl: Product image url
  • clickUrl: Tracking product url
  • raw: Raw product data from feed