Skip to content

evandhq/php-recommenderir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-recommenderir

A simple Object Oriented wrapper for Recommender.ir API, written with PHP5.

Installation

composer require evandhq/php-recommenderir

or add this line to your composer.json file

"evandhq/php-recommenderir" : "dev-master"

Basic usage

require_once 'vendor/autoload.php';

$client = new Evand\Recommenderir\Client(['base_uri' => 'http://example.com']);
$client->ingest(12345, 'product1', 200);

Available methods

  • 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.

About

An object-oriented PHP client for recommender.ir

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages