Added plot section for books
This commit is contained in:
parent
57de3d614c
commit
18f4412158
2 changed files with 2 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ export class OpenLibraryAPI extends APIModel {
|
|||
englishTitle: result.title_english ?? result.title,
|
||||
|
||||
author: result.author_name ?? 'unknown',
|
||||
plot: result.description ?? 'unknown',
|
||||
pages: result.number_of_pages_median ?? 'unknown',
|
||||
onlineRating: Number.parseFloat(Number(result.ratings_average ?? 0).toFixed(2)),
|
||||
image: `https://covers.openlibrary.org/b/OLID/` + result.cover_edition_key + `-L.jpg` ?? '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue