I am trying to use Google Books API to get results for a book but although the book is available on Google Books website the API doesn't return results for its ISBN
The ISBNs I am searching for are: 9781595086228 - 1595086226
The API Request:
https://www.googleapis.com/books/v1/volumes?q=isbn:9781595086228&key=<API Key>
and
https://www.googleapis.com/books/v1/volumes?q=isbn:1595086226&key=<API Key>
The response:
{kind: "books#volumes",
totalItems: 0
}
The Book page on Google Books:
https://books.google.com.eg/books?id=nAmyDwAAQBAJ&dq=9781595086228
I want to know if there is a problem with my request format or if the problem is not related to my request.
The data type of
typeof()
ISBNs in the fetched object is string, thus need to include it in the call as the same type - imbed it as a variable in the URL using backticks. See the comments in the code:P.S if helps, please mark as answer.