PHP code example of bluewalk / lidlplus

1. Go to this page and download the library: Download bluewalk/lidlplus 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/ */

    

bluewalk / lidlplus example snippets




$lidl = new Net\Bluewalk\LidlPlus\LidlPlus('MyRefreshToken', 'CountryCode');
$receipts = $lidl->GetReceipts();

$latest = $lidl->GetReceiptJpeg($receipts->Records[0]->Id);

header('Content-type: image/jpeg');
print $latest;