Tankōbon / main/services/google-books / GoogleBooksClient
Class: GoogleBooksClient
Defined in: main/services/google-books.ts:56
Searches Google Books, with an API key if the user set one. Throws a translated message on failure.
Constructors
Constructor
new GoogleBooksClient(
apiKey,http):GoogleBooksClient
Defined in: main/services/google-books.ts:57
Parameters
apiKey
string
http
Returns
GoogleBooksClient
Methods
search()
search(
query):Promise<MetadataCandidate[]>
Defined in: main/services/google-books.ts:63
Full-text search on the query text and volume number.
Parameters
query
Returns
Promise<MetadataCandidate[]>