WeRead Bookshelf

View bookshelf, manage e-books and audiobooks

✨ The solution you've been looking for

View WeRead bookshelf, including e-books and albums/audiobooks. Understand bookshelf count rules including e-books, albums, and article favorites.

WeRead Bookshelf Audiobooks

See It In Action

Interactive preview & real-world examples

Live Demo
Skill Demo Animation

AI Conversation Simulator

See how users interact with this skill

User Prompt

How many books are in my bookshelf?

Skill Processing

Querying...

Agent Response

Your bookshelf has 13 items: 10 e-books + 3 albums/audiobooks

Quick Start (3 Steps)

Get up and running in minutes

1

Install

2

Config

Set WEREAD_API_KEY environment variable
3

First Trigger

Commands

CommandDescriptionRequired Args
View BookshelfView user bookshelfNone

Typical Use Cases

View Bookshelf

View user's bookshelf content

Overview

shelf — Bookshelf Management

Important Concepts

Album = Audiobook - they are the same concept. In WeRead, audiobook content exists as “albums” in the albums field, separate from books (e-books).

Bookshelf “books” include both e-books and albums/audiobooks. When user asks “how many books in my bookshelf”, count both books[] and albums[].

API

/shelf/sync

Request Parameters: None (user identity auto-identified via API Key)

Response:

FieldDescription
books[]E-books array
books[].bookIdBook ID
books[].titleBook title
books[].authorAuthor
books[].coverCover URL
books[].readUpdateTimeLast reading time
books[].finishReadingFinished status (1=finished)
albums[]Albums/audiobooks array
albums[].albumInfo.albumIdAlbum ID
albums[].albumInfo.nameAlbum name
albums[].albumInfo.authorNameNarrator/author
albums[].albumInfo.trackCountTrack count
mpArticle favorites entry (if exists)

Count Rules

Question/MetricCalculationDescription
Total bookshelf itemsbooks.length + albums.length + (mp ? 1 : 0)Default answer for “how many books”
E-book count onlybooks.lengthOnly when user explicitly asks for e-books
Audiobook/album countalbums.lengthSeparate count for audiobooks

Important: Always use the formula books.length + albums.length + (mp ? 1 : 0) when answering shelf count questions.

Environment Matrix

Dependencies

WEREAD_API_KEY environment variable

Author
weread
1.0.3
2026-05-17
reading