# Chapter 7: Retrieving Books from our API

It is now time to finally put everything we've just learned in the past couple of chapters to practical use.&#x20;

We will be using our 8 step recipe in this chapter. We will first use the design doc to plan out the first endpoint and retrieve all the books in our application. After that, we will proceed to creating the endpoint for retrieving a single book by its id.

The rest of the chapters will follow a similar format until we finish implementing of all our RESTful API endpoints.

Let's get started with our first API endpoint!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://book.restfulnode.com/part-3/chapter-7.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
