Salta ai contenuti

Getting All Books in Your Library

Ultimo Aggiornamento   7 ottobre 2024

Guide

Introduction

This guide will show you how to get all the books in your library using the Hardcover API.

Get a list of books belonging to the current user

Example query
{
list_books(
where: {
user_books: {
user_id: {_eq: ##USER_ID##}
}
},
distinct_on: book_id
limit: 5
offset: 0
) {
book {
title
pages
release_date
}
}
}