Get Bookshelf
google_books.get_bookshelf
ActionBusiness appsconnection required
Calls the Google Books API with the connection's credentials.
Read one of a user's public bookshelves.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Google Books
- Secret shape
- the API key, or {"api_key": "…"}
- Config it needs
- base_url, country
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
user_id The Google user id whose public bookshelves are being read. | string | Yes | — | — | 114611430599992560860 |
shelf The bookshelf's id, as returned by a bookshelf listing (Google's built-in shelves are numbered, e.g. 3 for 'Reading now'). | string | Yes | — | — | 3 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"shelf": "3",
"user_id": "114611430599992560860"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The shelf's id. | number | — |
title The shelf's name. | string | — |
volumeCount How many volumes are on the shelf. | number | — |
access Whether the shelf is public or private. | string | — |
updated When the shelf last changed. | string | — |
{
"access": "",
"id": 0,
"title": "",
"updated": "",
"volumeCount": 0
}Related Google Books nodes
See Get Bookshelf run in a workflow.
In a technical demo we add the Google Books connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.