A simple Object Oriented wrapper for Recommender.ir API, written with PHP5.
composer require evandhq/php-recommenderir
or add this line to your composer.json file
"evandhq/php-recommenderir" : "dev-master"
require_once 'vendor/autoload.php';
$client = new Evand\Recommenderir\Client(['base_uri' => 'http://example.com']);
$client->ingest(12345, 'product1', 200);
- ingest
- forgetItems
- forgetItemsList
- rememberItems
- addTerms
- removeTerms
- termsList
- itemLocationAdd
- itemLocationList
- recommend
- termRecommend
- spectrometer
- spotlight
- recommendToGroup
- similarity
- similarityToItem
- because
- mostPopularItems
- termMostPopularItems
- termSimilarity
- termBasedRecommend
- termBasedRecommendInclusive
- termBasedMostPopularItems
- termBasedSimilarity
- termBasedSimilarityInclusive
- termNeighborhood
- latestTouchedItems
- latestTouchedTerms
- userFrequentlyTouchedItems
- itemFrequentlyVisitors
- currentMood
- setUserProfile
- getUserProfile
- guessUserProfile
- luckyUser
- getTrends
Feel free to open an issue and send a pull request.