6
I’m using the Google Books API to get the details of a book:
And to get the details of a book, by searching for the name, I’m using the following example provided by them, of this case the file simple-query.php
inside the briefcase examples
.
What happens is that I can only do the research by author of books by calling this function:
$results = $service->volumes->listVolumes('Catarina Coelho', $optParams);
How can I do the research by the name of the book? I can’t find any reference to doing the research by the name of the book.
As I couldn’t do it from the top, 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 fetch the result from the source and be saved inside a variable/array?
The OP language is php, and this code suggested in VB.
– user28595