w3slley / bookcover-api

πŸ“š Simple API for retrieving book covers from the web

Home Page:https://bookcover.longitood.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An API to retrieve bookcovers from the internet.

Since I discovered to be quite hard to find comprehensive APIs (tried both Goodreads' and Google's) to retrieve book cover images for a personal project, I decided to create this API which does exactly that. I plan to add more features on it as times goes on.

Documentation

GET /bookcover

It accepts the following two required parameters:

  • book_title (string)
  • author_name (string)

Example of an http request:

https://bookcover.longitood.com/bookcover?book_title=The+Pale+Blue+Dot&author_name=Carl+Sagan

Response:

{
  "url":"https://i.gr-assets.com/images/S/compressed.photo.goodreads.com/books/1500191671l/61663._SY475_.jpg"
}

GET /bookcover/:isbn

Search books by ISBN-13.

Example of an http request:

https://bookcover.longitood.com/bookcover/978-0345376596

Response:

{
    "url": "https://images-na.ssl-images-amazon.com/images/S/compressed.photo.goodreads.com/books/1500191671i/61663.jpg"
}

About

πŸ“š Simple API for retrieving book covers from the web

https://bookcover.longitood.com


Languages

Language:Go 71.1%Language:Dockerfile 28.9%