Spring Project

Project: Google Books REST Client

  1. Implement a component GoogleBooksClient that invokes volume list method of the Google Books API (see API Reference) with appropriate query parameters (see API Guide).
  2. Implement classes that correspond to the list method's response (see API Reference) and convert the returned Volume objects into Book objects.
  3. In the catalog service update the following methods:
    • findBook searches the book in Google's Book API if it is not found in the local database
    • searchBooks returns all matching books of the local database and Google's Book API (without duplicates)
    Books from the Google Book API that do not have an ISBN, title, authors, publisher, or price are ignored.