No description, website, or topics provided.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/ProductFeedAdapter
tests
vendor/classloader/Symfony/Component/ClassLoader
.travis.yml
LICENSE
README.md
composer.json
phpunit.xml.dist

README.md

Product Feed Adapter

Build Status

Use this adapter with any product feed from Adrecord, TradeDoubler, Zanox, Adtraction or Adsettings.

$feed = file_get_contents('http://feed.adrecord.com/foo.json?id=bar');
$productFeedAdapter = new ProductFeedAdapter($feed);
$network = $productFeedAdapter->getNetwork();
foreach ($network->getProducts(0, 10) as $product) {
    echo $product->getTrackingUrl();
}