Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edumats/cs50-books
This is a book review website where it is possible to search for books by its author, title or ISBN; write reviews and rate books, as well as use the included API for retrieving information about a particular book. It displays ratings and numbers of reviews of the books by using the Goodreads API.
https://github.com/edumats/cs50-books
Last synced: 5 days ago
JSON representation
This is a book review website where it is possible to search for books by its author, title or ISBN; write reviews and rate books, as well as use the included API for retrieving information about a particular book. It displays ratings and numbers of reviews of the books by using the Goodreads API.
- Host: GitHub
- URL: https://github.com/edumats/cs50-books
- Owner: edumats
- Created: 2019-11-07T17:18:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-15T22:58:51.000Z (almost 2 years ago)
- Last Synced: 2024-11-10T03:30:10.190Z (2 months ago)
- Language: HTML
- Homepage: https://cs50-books-edumats.herokuapp.com/
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project 1
Web Programming with Python and JavaScript
This is a book review website where it is possible to search for books by its author, title or ISBN; write reviews and rate books, as well as use the included API for retrieving information about a particular book. It displays ratings and numbers of reviews of the books by using the Goodreads API.
### Prerequisites
Please install dependecies via the included requirements.txt:
Use pip for that:
```
pip install -r requirements.txt
````### API usage
Using the following path it is possible to retrieve data from a particular book using its ISBN:
```
/api/
```If the book is available in database, the API returns the following JSON response:
Example:
```
{
"title": "Memory",
"author": "Doug Lloyd",
"year": 2015,
"isbn": "1632168146",
"review_count": 28,
"average_score": 5.0
}```
If the provided ISBN is not available, it will return a error JSON response:
```
{"error": "Invalid ISBN"}
```