code: def search(self, page=0, per_page=50, sort=None, q=None,
                 include_totals=True, fields=None, from_param=None, take=None,
                 include_fields=True):
          params = {
              'per_page': per_page,
              'page': page,
              'include_totals': str(include_totals).lower(),
              'sort': sort,
              'fields': fields and ','.join(fields) or None,
              'include_fields': str(include_fields).lower(),
              'q': q,
              'from': from_param,
              'take': take
          }
          return self.client.get(self._url(), params=params)