I'm using Google Books API to get the details of a book:
And to get the details of a book by searching by name, I'm using the following example provided by they , in this case the file simple-query.php
within the examples
folder.
What happens is that I can only do the search by author of books when calling this function:
$results = $service->volumes->listVolumes('Catarina Coelho', $optParams);
How can I search by book name? I can not find any reference to doing the search by book name.
As I could not do it for the above mode, I found an example on the internet, but the search is done by the URL
https://www.googleapis.com/books/v1/volumes?q=Memoria+historia+da+provincia+de+Santa+Catharina
If I use this solution through the URL, how can I get the result through the code and be saved inside a variable / array?