def getSets(self, **kwargs):
<EOL>params = {<EOL>'<STR_LIT>':     self.apiKey,<EOL>'<STR_LIT>':   self.userHash,<EOL>'<STR_LIT>':      kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':      kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':   kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':  kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':       kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':      kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':     kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':    kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>':   kwargs.get('<STR_LIT>', '<STR_LIT>'),<EOL>'<STR_LIT>': kwargs.get('<STR_LIT>', '<STR_LIT:1>'),<EOL>'<STR_LIT>':   kwargs.get('<STR_LIT>', '<STR_LIT>')<EOL>}<EOL>url = Client.ENDPOINT.format('<STR_LIT>')<EOL>returned = get(url, params=params)<EOL>self.checkResponse(returned)<EOL>root = ET.fromstring(returned.text)<EOL>return [Build(i, self) for i in root]<EOL>
A way to get different sets from a query.
All parameters are optional, but you should probably use some (so that you get results)

:param str query: The thing you're searching for.
:param str theme: The theme of the set.
:param str subtheme: The subtheme of the set.
:param str setNumber: The LEGO set number.
:param str year: The year in which the set came out.
:param int owned: Whether or not you own the set. Only works when logged in with :meth:`login`. Set to `1` to make true.
:param int wanted: Whether or not you want the set. Only works when logged in with :meth:`login`. Set to `1` to make true.
:param str orderBy: How you want the set ordered. Accepts 'Number', 'YearFrom', 'Pieces', 'Minifigs', 'Rating', 'UKRetailPrice', 'USRetailPrice', 'CARetailPrice', 'EURetailPrice', 'Theme', 'Subtheme', 'Name', 'Random'. Add 'DESC' to the end to sort descending, e.g. NameDESC. Case insensitive. Defaults to 'Number'.
:param int pageSize: How many results are on a page. Defaults to 20.
:param int pageNumber: The number of the page you're looking at. Defaults to 1.
:param str userName: The name of a user whose sets you want to search.
:returns: A list of :class:`brickfront.build.Build` objects.
:rtype: list