public function getRecommendedItems($userId, $itemCount = 3)
    {
        $response = $this->sendQuery(['user' => $userId, 'num' => intval($itemCount)]);

        return $response;
    }
public function getRecommendedItems($userId, $itemCount = 3)
    {
        $response = $this->sendQuery(['user' => $userId, 'num' => intval($itemCount)]);

        return $response;
    }
public function getRecommendedItems ( $ userId , $ itemCount = 3 ) { $ response = $ this -> sendQuery ( [ 'user' => $ userId , 'num' => intval ( $ itemCount ) ] ) ; return $ response ; }
Returns the recommendations for the given user.

@param string $userId
@param int    $itemCount

@return string JSON response
Returns the recommendations for the given user .