def quick_search(self, name, platform=None, sort_by=None, desc=True):
if platform is None:<EOL><INDENT>query_filter = "<STR_LIT>".format(name)<EOL><DEDENT>else:<EOL><INDENT>query_filter = "<STR_LIT>".format(name, platform)<EOL><DEDENT>search_params = {"<STR_LIT>": query_filter}<EOL>if sort_by is not None:<EOL><INDENT>self._validate_sort_field(sort_by)<EOL>if desc:<EOL><INDENT>direction = self.SORT_ORDER_DESCENDING<EOL><DEDENT>else:<EOL><INDENT>direction = self.SORT_ORDER_ASCENDING<EOL><DEDENT>search_params["<STR_LIT>"] = "<STR_LIT>".format(sort_by, direction)<EOL><DEDENT>response = self._query(search_params)<EOL>return response<EOL>
Quick search method that allows you to search for a game using only the
title and the platform

:param name: string
:param platform: int
:param sort_by: string
:param desc: bool
:return: pybomb.clients.Response