Comments.

This commit is contained in:
John Schember 2011-02-22 19:35:01 -05:00
parent 6d5d638fe3
commit dd2c856dc0

View File

@ -597,6 +597,17 @@ class StorePlugin(Plugin): # {{{
raise NotImplementedError()
def search(self, query, max_results=10, timeout=60):
'''
Searches the store for items matching query. This should
return items as a generator.
:param query: The string query search with.
:param max_results: The maximum number of results to return.
:param timeout: The maximum amount of time in seconds to spend download the search results.
:return: A tuple (cover_url, title, author, price, start_item). The start_item is plugin
specific and is used in :meth:`open` to open to a specifc place in the store.
'''
raise NotImplementedError()
# }}}