PHP code example of pgrimaud / decitre-scrapper
1. Go to this page and download the library: Download pgrimaud/decitre-scrapper library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pgrimaud / decitre-scrapper example snippets
$decitre = new Decitre\Decitre();
$decitre->setBarcode('9791026811879');
$price = $decitre->getPrice();