GoogleBooks

FREE
By raygorodskij
Updated 5 months ago
Search
6/10
Popularity Score
276ms
Latency
100%
Success Rate

GoogleBooks API Documentation

That searches the full text of books and magazines that Google has scanned, converted to text using optical character recognition (OCR), and stored in its digital database.

View API Details
POSTaddVolumeToBookshelf
POSTdeleteAllVolumesFromBookshelf
POSTgetAccessToken
POSTgetBookshelf
POSTgetBookshelfList
POSTgetBookshelvesVolumes
POSTgetMyBookShelvesVolumesList
POSTgetMyBookshelf
POSTgetMyBookshelfList
POSTgetVolume
POSTgetVolumeBySearchQuery
POSTmoveVolume
POSTrefreshToken
POSTremoveVolumeFromBookshelves
POSTrevokeAccessToken
POSTaddVolumeToBookshelf

Adds a volume to a bookshelf.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
volumeIdSTRING
REQUIREDID of volume to add.
accessTokenSTRING
REQUIREDAccess Token. Use getAccessToken to get it.
shelfIdSTRING
REQUIREDID of bookshelf to which to add a volume.
Optional Parameters
sourceSTRING
OPTIONALString to identify the originator of this request.
Code Snippet
unirest.post("https://GoogleBooksraygorodskijV1.p.rapidapi.com/addVolumeToBookshelf")
.header("X-RapidAPI-Host", "GoogleBooksraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://GoogleBooksraygorodskijV1.p.rapidapi.com/addVolumeToBookshelf
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://GoogleBooksraygorodskijV1.p.rapidapi.com/addVolumeToBookshelf")
.header("X-RapidAPI-Host", "GoogleBooksraygorodskijV1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication