Skip to content
Advertisement

Google Books API Limit Results

Is there any way to limit the results returned by the Google Books API?

For example the following URL:

https://www.googleapis.com/books/v1/volumes?q=isbn:0751538310

Returns the following:

JavaScript

Is there any way I can return only the title and description? I think it may improve performance of my web application.

I have looked at the partial response but it doesn’t seem to work.

I am including my API key in the URL query parameter.

Thanks

Advertisement

Answer

I added the params according to the partial response documentation.

See the params in following link:

https://www.googleapis.com/books/v1/volumes?q=isbn:0751538310&fields=items(volumeInfo/description,volumeInfo/title)

It will return:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement