Google Books API – ISBN / books detail search with curl

Create a project, use the menu to find API manager, search for the API. In this case, google books API. Once you found the API you want, click on ENABLE API. This will enable the API for this project & account.

If it asks to create credential, create one. You will then obtain the API key. Optionally, you can also restrict this API use later.

Then, install the python library.

Shell

1

sudo easy_install--upgrade google-api-python-client

The simpler API can be accessed just via CURL. It’s actually a lot more straightforward than I expected. The rest is JSON parsing. Here is a curl call for doing book search (this one searches for the Art Of War).