Add matched books to the library
add_matched_books_to_libraryAdds up to 40 books to the reader's ReadingRate library in one call, by ReadingRate book id, all on the same shelf (want-to-read unless a status is given). Books already in the library are left where they are and listed.
Use after lookup_books_batch has matched a photographed shelf or a list, and the reader has said which of the matched books to add. Books added as read also go on the reader's ReadingRate activity feed; other readers see that they finished them while the reader's profile is public and shows finished books (new accounts start private, and finished books start hidden). It takes ids only, so it never adds a book to the catalog; a book lookup_books_batch could not match is added with add_book_to_library once the reader confirms its title.
Example: {"book_ids": ["", ""], "status": "read"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | The shelf to put every newly added book on instead of want-to-read | |
| book_ids | Yes | ReadingRate book ids, as lookup_books_batch returns them (max 40) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| added | No | Books added, with id and title, plus reason when a book went in but its status did not | |
| failed | No | Books that could not be added, with id and reason | |
| message | Yes | Human-readable result | |
| success | Yes | True unless no book could be added | |
| already_there | No | Books already in the library, with id, title and the shelf they are on; they were not changed |