evandhq / php-recommenderir
Recommender.ir API PHP client
Installs: 3 705
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 5
Forks: 3
Open Issues: 0
Requires
- php: >=5.5.0
- ext-curl: *
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-09 19:56:21 UTC
README
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.