PHP code example of purelightme / reco4life
1. Go to this page and download the library: Download purelightme/reco4life 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/ */
purelightme / reco4life example snippets
use Purelightme\Reco4life;
$reco = new Reco4life(YOUR_RECO_USER_NAME,YOUR_RECO_API_KEY);
$token = $reco->getToken();
$itemLists = $reco->itemList(['user_name' => YOUR_RECO_USER_NAME],$token['token']);
var_dump($itemLists);