Menu Close

Google Books API

Data Crow offers Google Books as one of its search sources. It’s a great source, and a popular one; which is exactly the downside. Google monitors how many requests its service receives. If you don’t use a personal API key, your searches are counted together with those of every other Data Crow user worldwide, as if they all came from a single source. Once that combined volume crosses Google’s rate limit, requests start getting rejected, even though you personally may have only searched a handful of times that day.

The fix is simple: get your own, free API key. It takes about five minutes and means your searches are counted separately, under your own quota.

Step 1: Create a Google Cloud project
Go to the Google Cloud Console (https://console.cloud.google.com) and sign in with any Google account. Create a new project. The name doesn’t matter, “Data Crow” works fine.

Step 2: Enable the Books API
From within your project, search for “Books API”, and click Enable.

Step 3: Create an API key
Go to “APIs & Services” → “Credentials” → “Create Credentials” → “API key”. Google generates a key immediately.

Just to be safe, click “Restrict key” and choose to limit it to the Books API. This way your personal API key can just be used for the Books API and nothing else.

Copy this key: put in a password manager for example. You will have to enter this key in Data Crow so make sure to have it at hand.

Step 4: Use the API key in Data Crow

Open the Online Search in the books module. Select the Google Books server. Right next to the server there’s a little settings icon.

Click it and copy your API key into the “Optional personal API key” field. Click save.

And you are all set!