Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
PHP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

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();
}
Something went wrong with that request. Please try again.