Search code examples
jsonapigoogle-books

Most Relevant Results from Google Books API


If im searching a book by the name only for eg harry potter my request is like https://www.googleapis.com/books/v1/volumes?q=intitle:harry+potter&key=myKey & im inserting my key. But the json results i get are not at all relevant it gives me random books but i want to get the actual harry potter books written by JK Rowling. Any idea how i can get the most relevant at the top.


Solution

  • So instead of using google books API, I have used goodreads API which has the books sorted according to popularity, which solved my issue. Just make your own developer key in goodreads then you can access the data. Check the below link for reference Goodreads