mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Comments.
This commit is contained in:
parent
6d5d638fe3
commit
dd2c856dc0
@ -597,6 +597,17 @@ class StorePlugin(Plugin): # {{{
|
|||||||
raise NotImplementedError()
|
raise NotImplementedError()
|
||||||
|
|
||||||
def search(self, query, max_results=10, timeout=60):
|
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()
|
raise NotImplementedError()
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user