Flutter-UI icon indicating copy to clipboard operation
Flutter-UI copied to clipboard

Get Recommended Books in the Dashboard

Open Mohitmadhav opened this issue 3 years ago • 9 comments

Description

  • Users should get recommended books according to genres selected by them in the user preferences dialog.
  • The User Preferences dialog is being resolved here: #130. So for now, take any 3 random genres.
  • Another section like Discover New (As shown in the screenshot) should be created containing books based on these 3 random genres because the user preferences tab is being fixed.

Screenshots

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. Genre files: F:\Career\Flutter\Explr\Flutter-UI\lib\constants\genres.dart
  2. Books should be fetched from the Google Books API according to any 3 random genres.
  3. Database files: lib\services\database_service.dart

Additional data

Add your working screenshots in the PR. And make sure to follow the README guidelines.

Mohitmadhav avatar Oct 08 '21 17:10 Mohitmadhav

can I work on this? @Mohitmadhav I tried using google books API, but it isn't giving accurate results. Any other way to do this?

keyurgit45 avatar Oct 31 '21 04:10 keyurgit45

Will assign it to you once I merge #146

Mohitmadhav avatar Oct 31 '21 09:10 Mohitmadhav

Either we can try out this: https://pub.dev/packages/googleapis

Or we'll have to change the Books API but I think every other free API will give similar issues.

Mohitmadhav avatar Oct 31 '21 12:10 Mohitmadhav

You can look into it @keyurgit45

Mohitmadhav avatar Oct 31 '21 17:10 Mohitmadhav

@Mohitmadhav We can use the search parameter in query to get books from the given category. Also, Do we have show books from a favorite author?

keyurgit45 avatar Nov 01 '21 04:11 keyurgit45

No no, just the books based on the genres selected by the user for now.

Mohitmadhav avatar Nov 01 '21 06:11 Mohitmadhav

Google books API is not working as we want. If I want books related to the fiction genre, the response is giving me other genres also. I don't know why it is happening. Also if the user selected 5 genres then we have to make 5 different requests to the API so it would be a quite inefficient task. @Mohitmadhav

keyurgit45 avatar Nov 01 '21 09:11 keyurgit45

No problem @keyurgit45, lets's focus on other issues right now. I am planning to release the app at the earliest.

Mohitmadhav avatar May 31 '22 15:05 Mohitmadhav

Hey @Mohitmadhav I think we need to look into this first. Can you create a new issue for this? image

keyurgit45 avatar Jun 02 '22 08:06 keyurgit45