def get_trends( category = "", products = 0)
      cat = "cat=" + category.to_s
      products = "products=" + products.to_s
      args    = [cat, products].join( '&')

      return call_api( __method__, args)
    end
def get_trends( category = "", products = 0)
      cat = "cat=" + category.to_s
      products = "products=" + products.to_s
      args    = [cat, products].join( '&')

      return call_api( __method__, args)
    end
This method returns the popular brands for a given category along with a sample product for the
 brand-category combination.
 @param [String] category
   Category you want to restrict the popularity search for. This is an optional
   parameter. If category is not supplied, all the popular brands regardless of category will be returned.
 @return [String] A list of trends in the given category. Each trend has a brand, category, url, and
   optionally the top-ranked product for each brand/category.