api
Google Books

Documentation

Endpoint: Google Books Search

GET https://api.i-as.dev/api/google/books?q={query}&page={value}

Example Request:

GET https://api.i-as.dev/api/google/books?q=html&page=1

Response Format:

{
  "totalItems": "value",
  "books": [
    {
      "title": "string",
      "subtitle": "string",
      "author": "string",
      "type": "string",
      "category": "string",
      "price": {
        "amount": "value",
        "currencyCode": "string"
      },
      "priceRetail": {
        "amount": "value",
        "currencyCode": "string"
      },
      "description": "string",
      "images": {
        "smallThumbnail": "url",
        "thumbnail": "url"
      },
      "review": "url"
    }
    // More books data can be included
  ]
}

Description of Fields:

  • totalItems: Total number of books returned.
  • books: List of book details including:
    • title: The title of the book.
    • subtitle: The subtitle of the book.
    • author: The author of the book.
    • type: The type/genre of the book.
    • category: The category the book falls under.
    • price: The price of the book.
      • amount: The price amount.
      • currencyCode: Currency code of the price.
    • priceRetail: Retail price of the book (if applicable).
      • amount: Retail price amount.
      • currencyCode: Currency code of the retail price.
    • description: A short description of the book.
    • images: The image thumbnails of the book.
      • smallThumbnail: A small image of the book.
      • thumbnail: A larger image of the book.
    • review: URL to a review of the book.

Let me know if you'd like any further explanation or examples!