code: def rate(self, id, comment=None, vote=None):
          
  
          rating = {}
  
          if vote is not None:
              if 1 <= vote <= 3:
                  rating['rating'] = vote
          if comment is not None:
              if len(comment) > 0:
                  rating['comment'] = comment
  
          url = self._base + 'lot/{0}/comment'.format(id)
          r = requests.post(url, auth=self._auth, params=rating)
          r.raise_for_status()
          return r.json()
docs: Add a rating (vote and/or comment) to the lot with given identifier
          :param id: Identifier to add the rating to
          :param comment: String with the comment to add. It should have len > 0 when entered.
          :param vote: int with the vote to add. It should be greater than 0 and smaller than 4 when entered.
          :return: Which elements were uploaded (list of 'rating' and/or 'comment')
          :rtype: list